projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adapt all engines that add new EVP_MDs
[openssl.git]
/
engines
/
ccgost
/
gost_pmeth.c
diff --git
a/engines/ccgost/gost_pmeth.c
b/engines/ccgost/gost_pmeth.c
index f0f331e5cc0beee9a83165567a11da3e1d4b167f..7381c957fb6a711f48570545e3e692a9916f511b 100644
(file)
--- a/
engines/ccgost/gost_pmeth.c
+++ b/
engines/ccgost/gost_pmeth.c
@@
-388,8
+388,8
@@
static int pkey_gost_mac_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2)
} else {
key = &(data->key);
}
} else {
key = &(data->key);
}
- return EVP_MD_
CTX_md(mctx)->md_ctrl(mctx, EVP_MD_CTRL_SET_KEY,
-
32, key);
+ return EVP_MD_
meth_get_ctrl(EVP_MD_CTX_md(mctx))
+
(mctx, EVP_MD_CTRL_SET_KEY,
32, key);
}
}
return -2;
}
}
return -2;