]> Cypherpunks repositories - gostls13.git/commit
crypto/tls: check client's supported versions when using QUIC
authorMarten Seemann <martenseemann@gmail.com>
Wed, 25 Oct 2023 04:04:24 +0000 (11:04 +0700)
committerGopher Robot <gobot@golang.org>
Tue, 21 Nov 2023 22:54:50 +0000 (22:54 +0000)
commitf5bf9fb278c473104b0b987fc1dd165566cbec71
tree7828dc8c3d9a7cb320b02be59c648fce79fadf15
parent74993bffe1a5c7e28f43423f9925bf9f6ec17aad
crypto/tls: check client's supported versions when using QUIC

According to RFC 9001 Section 4.2, the client MUST NOT offer any TLS version
older than 1.3.

Fixes #63723.

Change-Id: Ia92f98274ca784e2bc151faf236380af51f699c1
Reviewed-on: https://go-review.googlesource.com/c/go/+/537576
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Roland Shoemaker <roland@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
src/crypto/tls/handshake_server_tls13.go