diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-12-09 09:15:16 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-12-09 09:15:16 +0100 |
commit | e794b42b5fc57a8fff4382e503a78683658f83ef (patch) | |
tree | ab73287578005b9ca9da820c4a9a4a7db5c1f0cd /lib | |
parent | e1dba2adfeeeffd9e5fb3b50221d971afe49187a (diff) | |
download | gnutls-e794b42b5fc57a8fff4382e503a78683658f83ef.tar.gz |
All the sign hash functions were deprecated.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/includes/gnutls/compat.h | 5 | ||||
-rw-r--r-- | lib/includes/gnutls/openpgp.h | 3 | ||||
-rw-r--r-- | lib/includes/gnutls/pkcs11.h | 3 |
3 files changed, 5 insertions, 6 deletions
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, |