From: Nikos Mavrogiannopoulos Date: Mon, 13 Dec 2010 21:29:40 +0000 (+0100) Subject: de-deprecated gnutls_x509_crt_verify_hash() X-Git-Tag: gnutls_2_11_7~127 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b121dd59010ba4acdff8e3265952a23000ca5d33;p=thirdparty%2Fgnutls.git de-deprecated gnutls_x509_crt_verify_hash() --- diff --git a/lib/includes/gnutls/compat.h b/lib/includes/gnutls/compat.h index aaee9d8f4e..635cfbf921 100644 --- a/lib/includes/gnutls/compat.h +++ b/lib/includes/gnutls/compat.h @@ -223,10 +223,4 @@ gnutls_sign_callback_get (gnutls_session_t session, void **userdata); gnutls_datum_t * signature) _GNUTLS_GCC_ATTR_DEPRECATED; - int gnutls_x509_crt_verify_hash (gnutls_x509_crt_t crt, - unsigned int flags, - const gnutls_datum_t * hash, - const gnutls_datum_t * signature) - _GNUTLS_GCC_ATTR_DEPRECATED; - #endif /* _GNUTLS_COMPAT_H */ diff --git a/lib/includes/gnutls/x509.h b/lib/includes/gnutls/x509.h index 21923a3ba4..8c9570b003 100644 --- a/lib/includes/gnutls/x509.h +++ b/lib/includes/gnutls/x509.h @@ -736,6 +736,11 @@ extern "C" const gnutls_datum_t * hash_data, gnutls_datum_t * signature); + int gnutls_x509_crt_verify_hash (gnutls_x509_crt_t crt, + unsigned int flags, + const gnutls_datum_t * hash, + const gnutls_datum_t * signature); + int gnutls_x509_crt_get_verify_algorithm (gnutls_x509_crt_t crt, const gnutls_datum_t * signature, gnutls_digest_algorithm_t * hash);