diff options
author | 2021-02-22 16:13:31 +0000 | |
---|---|---|
committer | 2021-02-22 16:13:31 +0000 | |
commit | 2d0eb2a93d37902db52673925b3fdf0daff29d39 (patch) | |
tree | 167e779d8f4017be101a6201615b0958d385a1cf /sys/dev/acpi/acpitimer.c | |
parent | Factor out/change some of the legacy client version handling code. (diff) | |
download | wireguard-openbsd-2d0eb2a93d37902db52673925b3fdf0daff29d39.tar.xz wireguard-openbsd-2d0eb2a93d37902db52673925b3fdf0daff29d39.zip |
Simplify version checks in the TLSv1.3 client
Ensure that the server announced TLSv1.3 (and nothing higher) in the
supported_versions extension. In that case, the legacy_version must
be TLSv1.2 according to RFC 8446, 4.1.3 and 4.2.1.
This commit also removes some unreachable code which is a remnant of
very early TLSv1.3 code from before the legacy fallback was introduced.
Simplify a few checks and adjust some comments nearby.
ok jsing
Diffstat (limited to 'sys/dev/acpi/acpitimer.c')
0 files changed, 0 insertions, 0 deletions