aboutsummaryrefslogtreecommitdiff
path: root/crypto/hmac/hm_ameth.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/hmac/hm_ameth.c')
-rw-r--r--crypto/hmac/hm_ameth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/hmac/hm_ameth.c b/crypto/hmac/hm_ameth.c
index 641c797ef1d5..29b2b5dffcf7 100644
--- a/crypto/hmac/hm_ameth.c
+++ b/crypto/hmac/hm_ameth.c
@@ -87,7 +87,7 @@ static int hmac_pkey_ctrl(EVP_PKEY *pkey, int op, long arg1, void *arg2)
{
switch (op) {
case ASN1_PKEY_CTRL_DEFAULT_MD_NID:
- *(int *)arg2 = NID_sha1;
+ *(int *)arg2 = NID_sha256;
return 1;
default: