From 1aa23ca311c7035da2c0dbf78de13ef5efd52b5f Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan Date: Thu, 30 Nov 2023 22:20:21 +0100 Subject: [PATCH] evp_lib.c: add NID_enull_hmac_sha{256,384} to EVP_CIPHER_get_type() --- crypto/evp/evp_lib.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crypto/evp/evp_lib.c b/crypto/evp/evp_lib.c index f29d592e0fbcd..0235786273d90 100644 --- a/crypto/evp/evp_lib.c +++ b/crypto/evp/evp_lib.c @@ -321,6 +321,11 @@ int EVP_CIPHER_get_type(const EVP_CIPHER *cipher) return NID_des_cfb64; + case NID_enull_hmac_sha256: + return NID_enull_hmac_sha256; + case NID_enull_hmac_sha384: + return NID_enull_hmac_sha384; + default: #ifdef FIPS_MODULE return NID_undef;