]> git.ipfire.org Git - thirdparty/openssl.git/commit
Remove disabled TLS 1.3 ciphers from the SSL(_CTX)
authorBenjamin Kaduk <bkaduk@akamai.com>
Wed, 27 May 2020 18:17:07 +0000 (11:17 -0700)
committerBenjamin Kaduk <bkaduk@akamai.com>
Wed, 24 Feb 2021 00:18:41 +0000 (16:18 -0800)
commitce0b307ea01bc5e3e178cd4dba45f9bb9d4ba5df
treeba0d93a9d31dfd0c97cf140574153e73f3938758
parent6eb7c748d115bd6ba89ceefd642de3deca8773ea
Remove disabled TLS 1.3 ciphers from the SSL(_CTX)

In ssl_create_cipher_list() we make a pass through the ciphers to
remove those which are disabled in the current libctx.  We are
careful to not include such disabled TLS 1.3 ciphers in the final
consolidated cipher list that we produce, but the disabled ciphers
are still kept in the separate stack of TLS 1.3 ciphers associated
with the SSL or SSL_CTX in question.  This leads to confusing
results where a cipher is present in the tls13_cipherlist but absent
from the actual cipher list in use.  Keep the books in order and
remove the disabled ciphers from the 1.3 cipherlist at the same time
we skip adding them to the active cipher list.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12037)
ssl/ssl_ciph.c