diff options
author | Tobias Brunner <tobias@strongswan.org> | 2011-07-21 18:32:28 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2011-07-21 18:38:43 +0200 |
commit | cbf5c2c61c4441af5f73c99dc8ae9ba2e99fd0b4 (patch) | |
tree | 27a84002c8ae214fe36371cc5401f2c43a1ac960 /src/libstrongswan/credentials/certificates/certificate.h | |
parent | 92032fd4d620bf7f92edb6fd13e6aef47962c3fc (diff) | |
download | strongswan-cbf5c2c61c4441af5f73c99dc8ae9ba2e99fd0b4.tar.bz2 strongswan-cbf5c2c61c4441af5f73c99dc8ae9ba2e99fd0b4.tar.xz |
Readded docs for some arguments to global functions.
Those were overzealously removed in 28623fc5389829858c78c759a214aa5c64ea26c6.
Diffstat (limited to 'src/libstrongswan/credentials/certificates/certificate.h')
-rw-r--r-- | src/libstrongswan/credentials/certificates/certificate.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/libstrongswan/credentials/certificates/certificate.h b/src/libstrongswan/credentials/certificates/certificate.h index 4bc41e3c9..330cfe198 100644 --- a/src/libstrongswan/credentials/certificates/certificate.h +++ b/src/libstrongswan/credentials/certificates/certificate.h @@ -115,7 +115,7 @@ struct certificate_t { * not returned by get_subject (e.g. subjectAltNames) * * @param subject subject identity - * @return matching value of best match + * @return matching value of best match */ id_match_t (*has_subject)(certificate_t *this, identification_t *subject); @@ -132,8 +132,8 @@ struct certificate_t { * A certificate may contain additional issuer identifiers, which are * not returned by get_issuer (e.g. issuerAltNames) * - * @param subject isser identity - * @return matching value of best match + * @param subject issuer identity + * @return matching value of best match */ id_match_t (*has_issuer)(certificate_t *this, identification_t *issuer); @@ -141,7 +141,7 @@ struct certificate_t { * Check if this certificate is issued and signed by a specific issuer. * * @param issuer issuer's certificate - * @return TRUE if certificate issued by issuer and trusted + * @return TRUE if certificate issued by issuer and trusted */ bool (*issued_by)(certificate_t *this, certificate_t *issuer); @@ -197,9 +197,10 @@ struct certificate_t { /** * Generic check if a given certificate is newer than another. * + * @param cert certificate * @param other certificate to compare to * @return TRUE if this newer than other */ -bool certificate_is_newer(certificate_t *this, certificate_t *other); +bool certificate_is_newer(certificate_t *cert, certificate_t *other); #endif /** CERTIFICATE_H_ @}*/ |