Ignore disabled ciphers when deciding if we are using ECC
authorMatt Caswell <matt@openssl.org>
Wed, 24 Oct 2018 09:11:00 +0000 (10:11 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 8 Nov 2018 11:31:22 +0000 (11:31 +0000)
commitf306b9e62a375add764c7d9de6e311aaa0229865
tree7a866fcc2b9646cfa61a5ff7e5208077d3d1b303
parentf7258489d88432dfc431772314ebac1c2997fdf8
Ignore disabled ciphers when deciding if we are using ECC

use_ecc() was always returning 1 because there are default (TLSv1.3)
ciphersuites that use ECC - even if those ciphersuites are disabled by
other options.

Fixes #7471

Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/7479)

(cherry picked from commit 589b6227a85ea0133fe91d744b16dd72edee929a)
ssl/statem/extensions_clnt.c