diff options
Diffstat (limited to 'crypto/hmac/hmac.c')
-rw-r--r-- | crypto/hmac/hmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/hmac/hmac.c b/crypto/hmac/hmac.c index 5d934e9588..d392753c49 100644 --- a/crypto/hmac/hmac.c +++ b/crypto/hmac/hmac.c @@ -39,7 +39,7 @@ int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, * The HMAC construction is not allowed to be used with the * extendable-output functions (XOF) shake128 and shake256. */ - if ((EVP_MD_meth_get_flags(md) & EVP_MD_FLAG_XOF) != 0) + if ((EVP_MD_flags(md) & EVP_MD_FLAG_XOF) != 0) return 0; if (key != NULL) { |