summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_server.c
diff options
context:
space:
mode:
authorjsing <>2020-05-13 17:51:48 +0000
committerjsing <>2020-05-13 17:51:48 +0000
commitba1709c6646816bffd9caeb42503abf95c44e3e2 (patch)
treecd40501324b03d3dcaffe9b9927e3ff085e201a8 /src/lib/libssl/tls13_server.c
parenta90ffb654baadcd91e2291d6ec0eb5fe59d12e9f (diff)
downloadopenbsd-ba1709c6646816bffd9caeb42503abf95c44e3e2.tar.gz
openbsd-ba1709c6646816bffd9caeb42503abf95c44e3e2.tar.bz2
openbsd-ba1709c6646816bffd9caeb42503abf95c44e3e2.zip
Switch the legacy version to TLS1_2_VERSION when processing server hello.
Switch the legacy version when processing the server hello, rather than when the client hello has been sent. This ensures that we accept a response from the server that has a record version other than TLS1_2_VERSION, as is the case where the server is negotiating TLSv1.0 or TLSv1.1. Issue spotted by inoguchi@ ok inoguchi@ tb@
Diffstat (limited to 'src/lib/libssl/tls13_server.c')
0 files changed, 0 insertions, 0 deletions