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:27:03 +0000 (11:27 +0000)
commit589b6227a85ea0133fe91d744b16dd72edee929a
tree7400827cbdc48f9a7481d0b84c624480da33c28e
parentac765685d4b08a48cefffc71c434760045154dad
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)
ssl/statem/extensions_clnt.c