summaryrefslogtreecommitdiff
path: root/ssl/ssl_local.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2021-01-13 15:50:36 +0000
committerMatt Caswell <matt@openssl.org>2021-02-05 15:20:36 +0000
commitddf8f1ce634b9a3bd30603d9e0eaec1990a0d586 (patch)
tree7c550e9e93899a3e73d6b88ad407623375a9d0e5 /ssl/ssl_local.h
parent5b64ce89b0859956387cda1d56718d2a5f09d928 (diff)
downloadopenssl-new-ddf8f1ce634b9a3bd30603d9e0eaec1990a0d586.tar.gz
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_local.h')
-rw-r--r--ssl/ssl_local.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/ssl_local.h b/ssl/ssl_local.h
index fa1130e59d..4138f4eaa3 100644
--- a/ssl/ssl_local.h
+++ b/ssl/ssl_local.h
@@ -1060,6 +1060,8 @@ struct ssl_ctx_st {
size_t supportedgroups_len;
uint16_t *supportedgroups;
+ uint16_t *supported_groups_default;
+ size_t supported_groups_default_len;
/*
* ALPN information (we are in the process of transitioning from NPN to
* ALPN.)