From 055f1dccb3548828db4453519199e6f8fde75c17 Mon Sep 17 00:00:00 2001 From: Derek Collison Date: Sun, 22 Nov 2015 08:34:06 -0800 Subject: [PATCH] Allow test to use correct default ciphers --- server/opts_test.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/server/opts_test.go b/server/opts_test.go index a1b0cefc..c59e02a0 100644 --- a/server/opts_test.go +++ b/server/opts_test.go @@ -101,12 +101,7 @@ func TestTLSConfigFile(t *testing.T) { } // Now check TLSConfig a bit more closely // CipherSuites - ciphers := []uint16{ - // tls.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, - tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, - // tls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, - tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, - } + ciphers := defaultCipherSuites() if !reflect.DeepEqual(tlsConfig.CipherSuites, ciphers) { t.Fatalf("Got incorrect cipher suite list: [%+v]", tlsConfig.CipherSuites) }