Make supported_groups code independent of EC and DH
authorMatt Caswell <matt@openssl.org>
Wed, 13 Jan 2021 17:27:10 +0000 (17:27 +0000)
committerMatt Caswell <matt@openssl.org>
Fri, 5 Feb 2021 15:20:37 +0000 (15:20 +0000)
commit8b1db5d329740bd5363fd1763d4030d0e015b521
tree2bc4baa1f7ebf82da6fb5278c808f2d22e08115a
parentddf8f1ce634b9a3bd30603d9e0eaec1990a0d586
Make supported_groups code independent of EC and DH

The supported groups code was checking the OPENSSL_NO_EC and
OPENSSL_NO_DH guards in order to work, and the list of default groups was
based on those guards. However we now need it to work even in a no-ec
and no-dh build, because new groups might be added from providers.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13916)
crypto/err/openssl.txt
include/openssl/sslerr.h
ssl/ssl_err.c
ssl/ssl_local.h
ssl/sslerr.h
ssl/statem/extensions_clnt.c
ssl/statem/extensions_srvr.c
ssl/t1_lib.c