]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fail immediately if we have no key shares to send
authorMatt Caswell <matt@openssl.org>
Fri, 15 Aug 2025 15:43:49 +0000 (16:43 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 20 Aug 2025 08:48:25 +0000 (09:48 +0100)
commit47b0f172aa60a0faa3428cc739e3efd71f756aa7
treee68fd5a965f0e87f5cde3cbb6e96b7d3f1be9c63
parent257ac1279877f05a997c76f58fc0c7af08e02718
Fail immediately if we have no key shares to send

If we are configured in such a way that we have no valid key shares to
send in the ClientHello we should immediately abort the connection.

Fixes #28281

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Hugo Landau <hlandau@devever.net>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/28283)
ssl/statem/extensions_clnt.c