Skip to content

Commit a4593c5

Browse files
advancedtls: use realistic ciphersuite in test (#7273)
Instead of 3DES, something which should basically never be used in production. Go is removing default support for 3DES is Go 1.24, requiring new modules to opt into support for this cipher.
1 parent 01363ac commit a4593c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/advancedtls/advancedtls_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,7 @@ func (s) TestGetCertificatesSNI(t *testing.T) {
11071107
}
11081108
pointFormatUncompressed := uint8(0)
11091109
clientHello := &tls.ClientHelloInfo{
1110-
CipherSuites: []uint16{tls.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA},
1110+
CipherSuites: []uint16{tls.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA},
11111111
ServerName: test.serverName,
11121112
SupportedCurves: []tls.CurveID{tls.CurveP256},
11131113
SupportedPoints: []uint8{pointFormatUncompressed},

0 commit comments

Comments
 (0)