mirror of
https://github.com/caddyserver/caddy.git
synced 2025-04-22 20:54:11 +08:00
tls: Fix failing test
This commit is contained in:
parent
47079c3d24
commit
b0ccab7b4a
@ -34,6 +34,7 @@ func TestTLSParseBasic(t *testing.T) {
|
||||
|
||||
// Cipher checks
|
||||
expectedCiphers := []uint16{
|
||||
tls.TLS_FALLBACK_SCSV,
|
||||
tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
|
||||
tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
|
||||
tls.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,
|
||||
@ -42,7 +43,6 @@ func TestTLSParseBasic(t *testing.T) {
|
||||
tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,
|
||||
tls.TLS_RSA_WITH_AES_256_CBC_SHA,
|
||||
tls.TLS_RSA_WITH_AES_128_CBC_SHA,
|
||||
tls.TLS_FALLBACK_SCSV,
|
||||
}
|
||||
|
||||
// Ensure count is correct (plus one for TLS_FALLBACK_SCSV)
|
||||
|
Loading…
x
Reference in New Issue
Block a user