summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/buffer
diff options
context:
space:
mode:
authortb <>2025-10-23 15:26:57 +0000
committertb <>2025-10-23 15:26:57 +0000
commita0dca9ee89cde95a556cd215202b7542ee5f598f (patch)
tree63ef7061b120fdf83bd33b2a787e23c5d846edc2 /src/lib/libcrypto/buffer
parent752aec5fac0b359c7a675abc05db2deccf8c53af (diff)
downloadopenbsd-OPENBSD_7_8.tar.gz
openbsd-OPENBSD_7_8.tar.bz2
openbsd-OPENBSD_7_8.zip
Ensure that we specify the correct group when creating a HelloRetryRequest.libressl-v4.2.1OPENBSD_7_8
When processing the client supported groups and key shares extensions, the group selection is currently based on client preference. However, when building a HRR the preferred group is identified by calling tls1_get_supported_group(). If SSL_OP_CIPHER_SERVER_PREFERENCE is enabled, group selection will be based on server instead of client preference. This in turn can result in the server sending a HRR for a group that the client has already provided a key share for, violating the RFC. Avoid this issue by storing the client preferred group when processing the key share extension, then using this group when creating the HRR. Thanks to dzwdz for identifying and reporting the issue. ok beck@ tb@ from jsing@ This is errata/7.8/003_libssl.patch.sig
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions