security/advancedtls: fix test that relies on min TLS version (#6824)

Bump the version in tls.ClientHelloInfo.SupportedVersions to
tls.VersionTLS12 (security/advancedtls/advancedtls_test.go)
This commit is contained in:
Roland Bracewell Shoemaker 2023-12-12 14:42:22 -08:00 committed by GitHub
parent 52baf161f3
commit 686fdd8da1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -942,7 +942,7 @@ func (s) TestGetCertificatesSNI(t *testing.T) {
ServerName: test.serverName,
SupportedCurves: []tls.CurveID{tls.CurveP256},
SupportedPoints: []uint8{pointFormatUncompressed},
SupportedVersions: []uint16{tls.VersionTLS10},
SupportedVersions: []uint16{tls.VersionTLS12},
}
gotCertificate, err := serverConfig.GetCertificate(clientHello)
if err != nil {