summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/malloc.3
diff options
context:
space:
mode:
authortb <>2021-02-22 16:13:31 +0000
committertb <>2021-02-22 16:13:31 +0000
commit842643a56228ae894659a873e62c56f51323f64e (patch)
tree54ea595d414b9275fb7968239c09513df65a5a86 /src/lib/libc/stdlib/malloc.3
parent5be7b39a3d59ca113945b77a97aaa4d8875ccc82 (diff)
downloadopenbsd-842643a56228ae894659a873e62c56f51323f64e.tar.gz
openbsd-842643a56228ae894659a873e62c56f51323f64e.tar.bz2
openbsd-842643a56228ae894659a873e62c56f51323f64e.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 'src/lib/libc/stdlib/malloc.3')
0 files changed, 0 insertions, 0 deletions