Skip to content

Commit

Permalink
advancedtls: use realistic ciphersuite in test (#7273)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rolandshoemaker authored May 29, 2024
1 parent 01363ac commit a4593c5
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 @@ -1107,7 +1107,7 @@ func (s) TestGetCertificatesSNI(t *testing.T) {
}
pointFormatUncompressed := uint8(0)
clientHello := &tls.ClientHelloInfo{
CipherSuites: []uint16{tls.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA},
CipherSuites: []uint16{tls.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA},
ServerName: test.serverName,
SupportedCurves: []tls.CurveID{tls.CurveP256},
SupportedPoints: []uint8{pointFormatUncompressed},
Expand Down

0 comments on commit a4593c5

Please sign in to comment.