summaryrefslogtreecommitdiff
path: root/lib/algorithms.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-08-24 13:32:04 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-08-24 14:09:43 +0200
commit13893550aa266d55bd5ec6ef395ae48f528b24d5 (patch)
treeec554ab959107a20917924b9e5b45590e2ba42b1 /lib/algorithms.h
parentdfbe6a74d8172fd69676987e2566b3f521101d3f (diff)
downloadgnutls-13893550aa266d55bd5ec6ef395ae48f528b24d5.tar.gz
Added support for decrypting PKCS#8 files which use HMAC-SHA256 as PRF
This improves compatibility with new openssl versions.
Diffstat (limited to 'lib/algorithms.h')
-rw-r--r--lib/algorithms.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/algorithms.h b/lib/algorithms.h
index 5ab350b098..819f3c8035 100644
--- a/lib/algorithms.h
+++ b/lib/algorithms.h
@@ -142,8 +142,6 @@ inline static int _gnutls_mac_get_key_size(const mac_entry_st * e)
return e->key_size;
}
-#define _gnutls_x509_oid_to_mac(oid) (gnutls_mac_algorithm_t)gnutls_oid_to_digest(oid)
-
/* Functions for digests. */
#define _gnutls_x509_digest_to_oid _gnutls_x509_mac_to_oid
#define _gnutls_digest_get_name _gnutls_mac_get_name