diff options
author | jsing <> | 2020-05-13 17:51:48 +0000 |
---|---|---|
committer | jsing <> | 2020-05-13 17:51:48 +0000 |
commit | ba1709c6646816bffd9caeb42503abf95c44e3e2 (patch) | |
tree | cd40501324b03d3dcaffe9b9927e3ff085e201a8 /src/lib/libssl/tls13_record_layer.c | |
parent | a90ffb654baadcd91e2291d6ec0eb5fe59d12e9f (diff) | |
download | openbsd-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_record_layer.c')
0 files changed, 0 insertions, 0 deletions