summaryrefslogtreecommitdiffstats
path: root/engines/ccgost
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-04-08 10:54:54 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-04-08 10:54:54 +0000
commit4ffd2ad1d39a3b084b0780bf004fdaae92b5bf9d (patch)
tree3b32db81d2cfda24096b61ff9813c34337d21e94 /engines/ccgost
parentacc9938ba5aa32fc382399e9a8cbd3a0dea91b34 (diff)
make GOST MAC work again
Diffstat (limited to 'engines/ccgost')
-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 16a99ac2b2..f620a216c8 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;