diff options
author | 2020-05-13 17:51:48 +0000 | |
---|---|---|
committer | 2020-05-13 17:51:48 +0000 | |
commit | 853fbeeb3ffc4d08157930626c205b35cd56c29e (patch) | |
tree | 106aa68b993020c2a49d95dce4c1d0e68377c2f2 /lib/libssl/tls13_server.c | |
parent | sdhc(4), sdmmc(4): tsleep(9) -> tsleep_nsec(9); ok patrick@ (diff) | |
download | wireguard-openbsd-853fbeeb3ffc4d08157930626c205b35cd56c29e.tar.xz wireguard-openbsd-853fbeeb3ffc4d08157930626c205b35cd56c29e.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 'lib/libssl/tls13_server.c')
0 files changed, 0 insertions, 0 deletions