projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
EVP: fetch the EVP_KEYMGMT earlier
[openssl.git]
/
crypto
/
evp
/
exchange.c
diff --git
a/crypto/evp/exchange.c
b/crypto/evp/exchange.c
index ec5ba03f095978d0f4c48c457bfbd19fbe4571af..3e66e721d5e2d4a521068104aa6fc2233f3a7f03 100644
(file)
--- a/
crypto/evp/exchange.c
+++ b/
crypto/evp/exchange.c
@@
-197,7
+197,7
@@
int EVP_PKEY_derive_init(EVP_PKEY_CTX *ctx)
*/
ERR_set_mark();
- if (ctx->
engine != NULL || ctx->keytype
== NULL)
+ if (ctx->
keymgmt
== NULL)
goto legacy;
/*