From: Iaroslav Gridin Date: Sat, 29 Oct 2016 13:59:39 +0000 (+0300) Subject: Remove commented-out HMAC code X-Git-Tag: OpenSSL_1_1_1-pre1~2731 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2c5998dde67f1ed6863e1e31a087e29270712056;p=oweals%2Fopenssl.git Remove commented-out HMAC code Reviewed-by: Rich Salz Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/1784) --- 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},