Commit 3dd4c0eb authored by Pavel Pavlenko's avatar Pavel Pavlenko

Fix TestTLSParseBasic

parent 1e27b5be
...@@ -46,9 +46,9 @@ func TestTLSParseBasic(t *testing.T) { ...@@ -46,9 +46,9 @@ func TestTLSParseBasic(t *testing.T) {
} }
// Ensure count is correct (plus one for TLS_FALLBACK_SCSV) // Ensure count is correct (plus one for TLS_FALLBACK_SCSV)
if len(c.TLS.Ciphers) != len(defaultCiphers) { if len(c.TLS.Ciphers) != len(expectedCiphers) {
t.Errorf("Expected %v Ciphers (including TLS_FALLBACK_SCSV), got %v", t.Errorf("Expected %v Ciphers (including TLS_FALLBACK_SCSV), got %v",
len(defaultCiphers), len(c.TLS.Ciphers)) len(expectedCiphers), len(c.TLS.Ciphers))
} }
// Ensure ordering is correct // Ensure ordering is correct
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment