mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-05 18:44:58 +03:00
tls: Fix failing test
This commit is contained in:
parent
47079c3d24
commit
b0ccab7b4a
1 changed files with 1 additions and 1 deletions
|
@ -34,6 +34,7 @@ func TestTLSParseBasic(t *testing.T) {
|
||||||
|
|
||||||
// Cipher checks
|
// Cipher checks
|
||||||
expectedCiphers := []uint16{
|
expectedCiphers := []uint16{
|
||||||
|
tls.TLS_FALLBACK_SCSV,
|
||||||
tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
|
tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
|
||||||
tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
|
tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
|
||||||
tls.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,
|
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_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,
|
||||||
tls.TLS_RSA_WITH_AES_256_CBC_SHA,
|
tls.TLS_RSA_WITH_AES_256_CBC_SHA,
|
||||||
tls.TLS_RSA_WITH_AES_128_CBC_SHA,
|
tls.TLS_RSA_WITH_AES_128_CBC_SHA,
|
||||||
tls.TLS_FALLBACK_SCSV,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ensure count is correct (plus one for TLS_FALLBACK_SCSV)
|
// Ensure count is correct (plus one for TLS_FALLBACK_SCSV)
|
||||||
|
|
Loading…
Reference in a new issue