diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2010-04-08 10:55:04 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2010-04-08 10:55:04 +0000 |
commit | 172f6b2d62af6ccad189808480960f5186e4d890 (patch) | |
tree | 95ab83d1acad423c54062dbccb4f39e0d3ce2fc2 /engines | |
parent | c0b8eb606fc6e31bff2f7ceadcd8441a646fdcee (diff) |
make GOST MAC work again
Diffstat (limited to 'engines')
-rw-r--r-- | engines/ccgost/gost_ameth.c | 2 |
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; |