mirror of https://github.com/grpc/grpc-go.git
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:
parent
52baf161f3
commit
686fdd8da1
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue