Don't send supported groups if no-ec and we're doing DTLS
authorMatt Caswell <matt@openssl.org>
Thu, 11 Jun 2020 15:47:50 +0000 (16:47 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 19 Jun 2020 09:19:32 +0000 (10:19 +0100)
commite09f8d256f60fd0af62e510f3eaab9e9936f3a6a
treef1509677ab89454ef56812a7d66389dd3a698b3d
parentdb9592c1f723841586960912c387a925e4547a26
Don't send supported groups if no-ec and we're doing DTLS

The supported_groups extension only supported EC groups in DTLS.
Therefore we shouldn't send it in a no-ec build.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11914)
ssl/statem/extensions_clnt.c