mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-14 02:07:59 -07:00
Update test to include expanded cipher suite.
This commit is contained in:
@@ -106,6 +106,7 @@ func TestTLSConfigFile(t *testing.T) {
|
||||
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,
|
||||
tls.TLS_RSA_WITH_RC4_128_SHA,
|
||||
}
|
||||
if !reflect.DeepEqual(tlsConfig.CipherSuites, ciphers) {
|
||||
t.Fatalf("Got incorrect cipher suite list: [%+v]", tlsConfig.CipherSuites)
|
||||
|
||||
Reference in New Issue
Block a user