diff options
author | Matt Caswell <matt@openssl.org> | 2021-01-13 15:50:36 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2021-02-05 15:20:36 +0000 |
commit | ddf8f1ce634b9a3bd30603d9e0eaec1990a0d586 (patch) | |
tree | 7c550e9e93899a3e73d6b88ad407623375a9d0e5 /ssl/ssl_lib.c | |
parent | 5b64ce89b0859956387cda1d56718d2a5f09d928 (diff) |
Ensure default supported groups works even with no-ec and no-dh
The default supported groups code was disabled in the event of a build
with no-ec and no-dh. However now that providers can add there own
groups (which might not fit into either of these categories), this is
no longer appropriate.
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13916)
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r-- | ssl/ssl_lib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index a87da32c62..daba82ebfe 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -3396,6 +3396,7 @@ void SSL_CTX_free(SSL_CTX *a) OPENSSL_free(a->ext.ecpointformats); #endif OPENSSL_free(a->ext.supportedgroups); + OPENSSL_free(a->ext.supported_groups_default); OPENSSL_free(a->ext.alpn); OPENSSL_secure_free(a->ext.secure); |