diff options
author | Simon Josefsson <simon@josefsson.org> | 2009-04-20 15:57:08 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2009-04-20 15:57:08 +0200 |
commit | 6f8559fa0cf9c66a1411d056ef159001de66a3cd (patch) | |
tree | 908a8c52d56f14d7dd1605130e2a538032efc1b2 | |
parent | b6ece09807cef726da92a8d89fa88d88e8f757c4 (diff) | |
download | gnutls-6f8559fa0cf9c66a1411d056ef159001de66a3cd.tar.gz |
Doc fix for new APIs.
-rw-r--r-- | lib/gnutls_x509.c | 2 | ||||
-rw-r--r-- | lib/x509/x509.c | 24 |
2 files changed, 15 insertions, 11 deletions
diff --git a/lib/gnutls_x509.c b/lib/gnutls_x509.c index 6b3c76bc2b..5ca740698d 100644 --- a/lib/gnutls_x509.c +++ b/lib/gnutls_x509.c @@ -1934,6 +1934,8 @@ int * all. * * Returns: %GNUTLS_E_SUCCESS on success, or an error code. + * + * Since: 2.8.0 **/ int gnutls_certificate_set_x509_simple_pkcs12_mem diff --git a/lib/x509/x509.c b/lib/x509/x509.c index 4a19471300..37f1c18868 100644 --- a/lib/x509/x509.c +++ b/lib/x509/x509.c @@ -2305,17 +2305,19 @@ gnutls_x509_crt_check_revocation (gnutls_x509_crt_t cert, } /** - * gnutls_x509_crt_get_verify_algorithm - This function will return the hash algorithm used during signature. - * @crt: Holds the certificate - * @signature: contains the signature - * @hash: The result of the call with the hash algorithm used for signature - * - * This function will read the certifcate and the signed data to - * determine the hash algorithm used to generate the signature. - * - * Returns: the 0 if the hash algorithm is found. A negative value is - * returned on error. - **/ + * gnutls_x509_crt_get_verify_algorithm - This function will return the hash algorithm used during signature. + * @crt: Holds the certificate + * @signature: contains the signature + * @hash: The result of the call with the hash algorithm used for signature + * + * This function will read the certifcate and the signed data to + * determine the hash algorithm used to generate the signature. + * + * Returns: the 0 if the hash algorithm is found. A negative value is + * returned on error. + * + * Since: 2.8.0 + **/ int gnutls_x509_crt_get_verify_algorithm(gnutls_x509_crt_t crt, const gnutls_datum_t * signature, gnutls_digest_algorithm_t *hash) { |