summaryrefslogtreecommitdiffstats
path: root/lib/libssl/tls13_server.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2020-05-13 17:51:48 +0000
committerjsing <jsing@openbsd.org>2020-05-13 17:51:48 +0000
commit853fbeeb3ffc4d08157930626c205b35cd56c29e (patch)
tree106aa68b993020c2a49d95dce4c1d0e68377c2f2 /lib/libssl/tls13_server.c
parentsdhc(4), sdmmc(4): tsleep(9) -> tsleep_nsec(9); ok patrick@ (diff)
downloadwireguard-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