提交 172f6b2d 编写于 作者: D Dr. Stephen Henson

make GOST MAC work again

上级 c0b8eb60
...@@ -801,7 +801,7 @@ static int mac_ctrl_gost(EVP_PKEY *pkey, int op, long arg1, void *arg2) ...@@ -801,7 +801,7 @@ static int mac_ctrl_gost(EVP_PKEY *pkey, int op, long arg1, void *arg2)
switch (op) switch (op)
{ {
case ASN1_PKEY_CTRL_DEFAULT_MD_NID: case ASN1_PKEY_CTRL_DEFAULT_MD_NID:
*(int *)arg2 = NID_undef; *(int *)arg2 = NID_id_Gost28147_89_MAC;
return 2; return 2;
} }
return -2; return -2;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册