Skip to content

Commit

Permalink
evp_lib.c: add NID_enull_hmac_sha{256,384} to EVP_CIPHER_get_type()
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeev-0 committed Nov 30, 2023
1 parent 87b4074 commit 1aa23ca
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crypto/evp/evp_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1aa23ca

Please sign in to comment.