diff options
author | Simon Josefsson <simon@josefsson.org> | 2010-05-22 22:05:34 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2010-05-22 22:05:34 +0200 |
commit | 857ee3192c075020b5c65587ba49bc28f0ab0ed1 (patch) | |
tree | 87b849474ca22b74e4d61914cd8c0e3e6d2e3263 /lib | |
parent | 3deda2c2f0c2acd25077b132b3d49c7e53159e8f (diff) | |
download | gnutls-857ee3192c075020b5c65587ba49bc28f0ab0ed1.tar.gz |
Doc fix.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/x509/x509.c | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/lib/x509/x509.c b/lib/x509/x509.c index 4bc67993e1..94a8b81b48 100644 --- a/lib/x509/x509.c +++ b/lib/x509/x509.c @@ -1185,11 +1185,8 @@ get_alt_name (gnutls_x509_crt_t cert, const char *extension_id, * @ret_size: holds the size of ret. * @critical: will be non zero if the extension is marked as critical (may be null) * - * This function will return the alternative names, contained in the - * given certificate. - * - * This is specified in X509v3 Certificate Extensions. GNUTLS will - * return the Alternative name (2.5.29.17), or a negative error code. + * This function retrieves the Alternative Name (2.5.29.17), contained + * in the given certificate in the X509v3 Certificate Extensions. * * When the SAN type is otherName, it will extract the data in the * otherName's value field, and %GNUTLS_SAN_OTHERNAME is returned. @@ -1228,11 +1225,9 @@ gnutls_x509_crt_get_subject_alt_name (gnutls_x509_crt_t cert, * @ret_size: holds the size of ret. * @critical: will be non zero if the extension is marked as critical (may be null) * - * This function will return the issuer alternative names, contained in the - * given certificate. - * - * This is specified in X509v3 Certificate Extensions. GNUTLS will - * return the Isssuer Alternative name (2.5.29.18), or a negative error code. + * This function retrieves the Issuer Alternative Name (2.5.29.18), + * contained in the given certificate in the X509v3 Certificate + * Extensions. * * When the SAN type is otherName, it will extract the data in the * otherName's value field, and %GNUTLS_SAN_OTHERNAME is returned. @@ -2566,8 +2561,9 @@ gnutls_x509_crt_verify_hash (gnutls_x509_crt_t crt, unsigned int flags, * @reason_flags: Revocation reasons flags. * @critical: will be non zero if the extension is marked as critical (may be null) * - * This function will return the CRL distribution points (2.5.29.31), - * contained in the given certificate. + * This function retrieves the CRL distribution points (2.5.29.31), + * contained in the given certificate in the X509v3 Certificate + * Extensions. * * @reason_flags should be an ORed sequence of * %GNUTLS_CRL_REASON_UNUSED, %GNUTLS_CRL_REASON_KEY_COMPROMISE, @@ -2579,10 +2575,6 @@ gnutls_x509_crt_verify_hash (gnutls_x509_crt_t crt, unsigned int flags, * %GNUTLS_CRL_REASON_PRIVILEGE_WITHDRAWN, * %GNUTLS_CRL_REASON_AA_COMPROMISE, or zero for all possible reasons. * - * This is specified in X509v3 Certificate Extensions. GNUTLS will - * return the distribution point type, or a negative error code on - * error. - * * Returns: %GNUTLS_E_SHORT_MEMORY_BUFFER and updates &@ret_size if * &@ret_size is not enough to hold the distribution point, or the * type of the distribution point if everything was ok. The type is |