Skip to content

Commit

Permalink
security/advancedtls: fix test that relies on min TLS version (#6824)
Browse files Browse the repository at this point in the history
Bump the version in tls.ClientHelloInfo.SupportedVersions to
tls.VersionTLS12 (security/advancedtls/advancedtls_test.go)
  • Loading branch information
rolandshoemaker authored Dec 12, 2023
1 parent 52baf16 commit 686fdd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion security/advancedtls/advancedtls_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 686fdd8

Please # to comment.