projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix DH_get_nid() so that it does not cache values.
[openssl.git]
/
crypto
/
dh
/
dh_ameth.c
diff --git
a/crypto/dh/dh_ameth.c
b/crypto/dh/dh_ameth.c
index ea92fc9db7474905fb6a22c163eb7df08aea0f22..4d247dbba2590c381a5096696be1cc57eff62456 100644
(file)
--- a/
crypto/dh/dh_ameth.c
+++ b/
crypto/dh/dh_ameth.c
@@
-559,7
+559,7
@@
static int dh_pkey_import_from(const OSSL_PARAM params[], void *vpctx)
return 0;
}
- if (!
ffc_params_fromdata(dh_get0_params(dh)
, params)
+ if (!
dh_ffc_params_fromdata(dh
, params)
|| !dh_key_fromdata(dh, params)
|| !EVP_PKEY_assign_DH(pkey, dh)) {
DH_free(dh);