summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIaroslav Gridin <voker57@gmail.com>2016-10-29 16:59:39 +0300
committerRichard Levitte <levitte@openssl.org>2017-01-10 08:21:45 +0100
commit2c5998dde67f1ed6863e1e31a087e29270712056 (patch)
tree3b0fd0af7389a7bf499a3ad865c4ca0c928b06ac
parent098eb1a7b7177e960b141d4b58551763f16ea66c (diff)
Remove commented-out HMAC code
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1784)
-rw-r--r--crypto/engine/eng_cryptodev.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/crypto/engine/eng_cryptodev.c b/crypto/engine/eng_cryptodev.c
index e336151095..24692b111f 100644
--- a/crypto/engine/eng_cryptodev.c
+++ b/crypto/engine/eng_cryptodev.c
@@ -191,11 +191,6 @@ static struct {
int nid;
int digestlen;
} digests[] = {
-# if 0
- /* HMAC is not supported */
- {CRYPTO_MD5_HMAC, NID_hmacWithMD5, 16},
- {CRYPTO_SHA1_HMAC, NID_hmacWithSHA1, 20},
-# endif
{CRYPTO_MD5, NID_md5, 16},
{CRYPTO_SHA1, NID_sha1, 20},
{CRYPTO_SHA2_256, NID_sha256, 32},