From: Nikos Mavrogiannopoulos Date: Thu, 9 Dec 2010 08:15:16 +0000 (+0100) Subject: All the sign hash functions were deprecated. X-Git-Tag: gnutls_2_11_7~138 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e794b42b5fc57a8fff4382e503a78683658f83ef;p=thirdparty%2Fgnutls.git All the sign hash functions were deprecated. --- diff --git a/lib/includes/gnutls/compat.h b/lib/includes/gnutls/compat.h index 635cfbf921..a31f067485 100644 --- a/lib/includes/gnutls/compat.h +++ b/lib/includes/gnutls/compat.h @@ -223,4 +223,9 @@ gnutls_sign_callback_get (gnutls_session_t session, void **userdata); gnutls_datum_t * signature) _GNUTLS_GCC_ATTR_DEPRECATED; + int gnutls_openpgp_privkey_sign_hash (gnutls_openpgp_privkey_t key, + const gnutls_datum_t * hash, + gnutls_datum_t * signature) + _GNUTLS_GCC_ATTR_DEPRECATED; + #endif /* _GNUTLS_COMPAT_H */ diff --git a/lib/includes/gnutls/openpgp.h b/lib/includes/gnutls/openpgp.h index cad2235f1b..4babbcc652 100644 --- a/lib/includes/gnutls/openpgp.h +++ b/lib/includes/gnutls/openpgp.h @@ -173,9 +173,6 @@ extern "C" unsigned int flags, const gnutls_datum_t * ciphertext, gnutls_datum_t * plaintext); - int gnutls_openpgp_privkey_sign_hash (gnutls_openpgp_privkey_t key, - const gnutls_datum_t * hash, - gnutls_datum_t * signature); int gnutls_openpgp_privkey_get_fingerprint (gnutls_openpgp_privkey_t key, void *fpr, size_t * fprlen); int gnutls_openpgp_privkey_get_subkey_fingerprint (gnutls_openpgp_privkey_t diff --git a/lib/includes/gnutls/pkcs11.h b/lib/includes/gnutls/pkcs11.h index 9ea9a6e4dc..c5a14660ea 100644 --- a/lib/includes/gnutls/pkcs11.h +++ b/lib/includes/gnutls/pkcs11.h @@ -200,9 +200,6 @@ int gnutls_pkcs11_privkey_sign_data (gnutls_pkcs11_privkey_t signer, unsigned int flags, const gnutls_datum_t * data, gnutls_datum_t * signature); -int gnutls_pkcs11_privkey_sign_hash (gnutls_pkcs11_privkey_t key, - const gnutls_datum_t * hash, - gnutls_datum_t * signature); int gnutls_pkcs11_privkey_decrypt_data (gnutls_pkcs11_privkey_t key, unsigned int flags,