Remove commented-out HMAC code
authorIaroslav Gridin <voker57@gmail.com>
Sat, 29 Oct 2016 13:59:39 +0000 (16:59 +0300)
committerRichard Levitte <levitte@openssl.org>
Tue, 10 Jan 2017 07:21:45 +0000 (08:21 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1784)

crypto/engine/eng_cryptodev.c

index e336151..24692b1 100644 (file)
@@ -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},