mirror of
https://github.com/openssl/openssl.git
synced 2024-12-27 06:21:43 +08:00
1c49be8673
The only reason(s) the DH private key length should be set are: (1) The user sets it during key generation via EVP_PKEY_CTX_set_params using OSSL_PKEY_PARAM_DH_PRIV_LEN. (2) When loading a PKCS3 (DH) key the optional value 'privateValueLength' is set. Now that the named groups contain a value for 'q' there is no reason to automatically overwrite the private key length. Issue detected by @davidmakepeace Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15695) |
||
---|---|---|
.. | ||
build.info | ||
dh_ameth.c | ||
dh_asn1.c | ||
dh_backend.c | ||
dh_check.c | ||
dh_depr.c | ||
dh_err.c | ||
dh_gen.c | ||
dh_group_params.c | ||
dh_kdf.c | ||
dh_key.c | ||
dh_lib.c | ||
dh_local.h | ||
dh_meth.c | ||
dh_pmeth.c | ||
dh_prn.c | ||
dh_rfc5114.c |