diff options
author | jsing <> | 2020-05-13 17:51:48 +0000 |
---|---|---|
committer | jsing <> | 2020-05-13 17:51:48 +0000 |
commit | eb0ad25bdc106121c23e0c23319707057b42c380 (patch) | |
tree | cd40501324b03d3dcaffe9b9927e3ff085e201a8 /src/lib/libc/string/strstr.c | |
parent | 01d75aaa520ead9d2ebabb60f68acf32f83090c1 (diff) | |
download | openbsd-eb0ad25bdc106121c23e0c23319707057b42c380.tar.gz openbsd-eb0ad25bdc106121c23e0c23319707057b42c380.tar.bz2 openbsd-eb0ad25bdc106121c23e0c23319707057b42c380.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/libc/string/strstr.c')
0 files changed, 0 insertions, 0 deletions