summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_transcript.c
diff options
context:
space:
mode:
authortb <>2021-04-22 18:27:53 +0000
committertb <>2021-04-22 18:27:53 +0000
commit5eecbcb5769923bdc9c618e92dbb5c14e8c918ae (patch)
treee2d5b95dda83b3ae232ba03b900ca0d12f56a9ad /src/lib/libssl/ssl_transcript.c
parent506823de08d3a19a65ea7e1e21e393b05e56106a (diff)
downloadopenbsd-5eecbcb5769923bdc9c618e92dbb5c14e8c918ae.tar.gz
openbsd-5eecbcb5769923bdc9c618e92dbb5c14e8c918ae.tar.bz2
openbsd-5eecbcb5769923bdc9c618e92dbb5c14e8c918ae.zip
Only hash known CH extensions
RFC 4.1.2 specifies the ways in which the extensions in the first and the second ClientHello may differ. It basically says that extensions not known to a server must not change. This in turn makes it impossible to introduce new extensions that do change. It makes little sense to enforce that extensions we don't know and care about aren't modified, so make the hashing more lenient and restrict it to the extensions we do care about. Arguably, enforcing no change in an unknown extension is incompatible with the requirement that it be ignored. ok bcook jsing
Diffstat (limited to 'src/lib/libssl/ssl_transcript.c')
0 files changed, 0 insertions, 0 deletions