From 7fe0ed75e3e7760226a0a3a5a86cf3887004f6e4 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Mon, 14 Jan 2019 16:36:33 +0000 Subject: [PATCH] Add missing entries in ssl_mac_pkey_id Fixes #8005 Reviewed-by: Ben Kaduk (Merged from https://github.com/openssl/openssl/pull/8020) --- ssl/ssl_ciph.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c index bd97c0fdab..461a9debab 100644 --- a/ssl/ssl_ciph.c +++ b/ssl/ssl_ciph.c @@ -171,6 +171,8 @@ static int ssl_mac_pkey_id[SSL_MD_NUM_IDX] = { EVP_PKEY_HMAC, EVP_PKEY_HMAC, EVP_PKEY_HMAC, NID_undef, /* GOST2012_512 */ EVP_PKEY_HMAC, + /* MD5/SHA1, SHA224, SHA512 */ + NID_undef, NID_undef, NID_undef }; static size_t ssl_mac_secret_size[SSL_MD_NUM_IDX]; -- 2.25.1