openssl/crypto/dh
Richard Levitte d101700dff CRYPTO: Remove the check for built-in methods in the export_to function
That check was seen as necessary at the time, but other changes have
been made since, so we now have better control on when we're handling
legacy structures and methods, making it safe to run the export_to
function on keys with foreign methods.

The basic message is that foreign methods must set key structure
values according to our standards no matter what, or not set them at
all.  This has really always been the case, but was harder to see at
the time because of interaction with other bugs.

Fixes #15927

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15996)
2021-07-07 15:38:21 +02:00
..
build.info
dh_ameth.c CRYPTO: Remove the check for built-in methods in the export_to function 2021-07-07 15:38:21 +02:00
dh_asn1.c
dh_backend.c fips module header inclusion fine-tunning 2021-07-06 10:52:27 +10:00
dh_check.c Fix DH private key check. 2021-06-16 11:25:24 +01:00
dh_depr.c
dh_err.c
dh_gen.c
dh_group_params.c
dh_kdf.c
dh_key.c
dh_lib.c fips module header inclusion fine-tunning 2021-07-06 10:52:27 +10:00
dh_local.h
dh_meth.c
dh_pmeth.c
dh_prn.c
dh_rfc5114.c