summaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorsteve <steve>2010-04-08 10:55:04 +0000
committersteve <steve>2010-04-08 10:55:04 +0000
commita3a2078ec27ab802a47e94dc7f5389592d555ede (patch)
tree53d0d93f0f5a16b0bcf2b1119508a4e31c109ade /engines
parentcaff4a3287842b8c1717371e6c3a1e67c960d11a (diff)
downloadopenssl-a3a2078ec27ab802a47e94dc7f5389592d555ede.tar.gz
make GOST MAC work again
Diffstat (limited to 'engines')
-rw-r--r--engines/ccgost/gost_ameth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/ccgost/gost_ameth.c b/engines/ccgost/gost_ameth.c
index 16a99ac2b..f620a216c 100644
--- a/engines/ccgost/gost_ameth.c
+++ b/engines/ccgost/gost_ameth.c
@@ -801,7 +801,7 @@ static int mac_ctrl_gost(EVP_PKEY *pkey, int op, long arg1, void *arg2)
switch (op)
{
case ASN1_PKEY_CTRL_DEFAULT_MD_NID:
- *(int *)arg2 = NID_undef;
+ *(int *)arg2 = NID_id_Gost28147_89_MAC;
return 2;
}
return -2;