diff options
author | Matt Caswell <matt@openssl.org> | 2021-01-13 12:39:40 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2021-02-05 15:20:36 +0000 |
commit | 5b64ce89b0859956387cda1d56718d2a5f09d928 (patch) | |
tree | 842aef9e8c3f1b2b0d86ff75414ed475d6ec7125 /ssl/t1_lib.c | |
parent | 9ca08f91e9817892c3545612a91d38687e593e14 (diff) |
Remove OPENSSL_NO_DH guards from libssl
This removes man unnecessary OPENSSL_NO_DH guards from libssl. Now that
libssl is entirely using the EVP APIs and implementations can be plugged
in via providers it is no longer needed to disable DH at compile time in
libssl. Instead it should detect at runtime whether DH is available from
the loaded providers.
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13916)
Diffstat (limited to 'ssl/t1_lib.c')
-rw-r--r-- | ssl/t1_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index 7328c8e2b1..1438244d32 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -191,7 +191,7 @@ static const unsigned char ecformats_default[] = { TLSEXT_ECPOINTFORMAT_ansiX962_compressed_prime, TLSEXT_ECPOINTFORMAT_ansiX962_compressed_char2 }; -#endif /* !defined(OPENSSL_NO_EC) || !defined(OPENSSL_NO_DH) */ +#endif /* !defined(OPENSSL_NO_EC) */ /* The default curves */ #if !defined(OPENSSL_NO_DH) || !defined(OPENSSL_NO_EC) |