projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acc9938
)
make GOST MAC work again
author
Dr. Stephen Henson
<steve@openssl.org>
Thu, 8 Apr 2010 10:54:54 +0000
(10:54 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Thu, 8 Apr 2010 10:54:54 +0000
(10:54 +0000)
engines/ccgost/gost_ameth.c
patch
|
blob
|
history
diff --git
a/engines/ccgost/gost_ameth.c
b/engines/ccgost/gost_ameth.c
index 16a99ac2b2cf6ae16510dd8e80b1b672e8988f06..f620a216c8136211f3ef414db861f862d7ecef77 100644
(file)
--- 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;