summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto
diff options
context:
space:
mode:
authortb <>2026-05-09 11:45:50 +0000
committertb <>2026-05-09 11:45:50 +0000
commiteb7b0089a32bfe0cc25aea8748f4b35f315d31a7 (patch)
treea87ca03351b4dc89d8bbdc7603ca7c0edc6c2869 /src/lib/libcrypto
parent8ea86b6171685902bc68700cb1dbf84a0b3006cb (diff)
downloadopenbsd-eb7b0089a32bfe0cc25aea8748f4b35f315d31a7.tar.gz
openbsd-eb7b0089a32bfe0cc25aea8748f4b35f315d31a7.tar.bz2
openbsd-eb7b0089a32bfe0cc25aea8748f4b35f315d31a7.zip
libssl: record extension lengths in ClientHello hashing
The ClientHello hash is intended to ensure that the second CH after an HRR only makes the allowed changes to the TLS extensiosn by recording message type followed by the raw extension data if it must remain unchanged. This makes it possible (in principle) that part of free form extension data is confused with type (and length) information of a subsequent extension. Recording the length after the type prevents such a confusion and fixes the framing of the extensions. Found by Frank Denis ok jsing
Diffstat (limited to 'src/lib/libcrypto')
0 files changed, 0 insertions, 0 deletions