Skip to content

Commit 13f56bb

Browse files
Use ciphersuite_default instead of ciphersuite_all.
Due to this warning: "This ciphersuite list contains RC4. Use ciphersuite_strong or ciphersuite_default instead."
1 parent 4477045 commit 13f56bb

File tree

1 file changed

+1
-1
lines changed
  • Database/MongoDB/Transport

1 file changed

+1
-1
lines changed

Database/MongoDB/Transport/Tls.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ connect host port = bracketOnError (connectTo host port) hClose $ \handle -> do
5050

5151
let params = (TLS.defaultParamsClient host "")
5252
{ TLS.clientSupported = def
53-
{ TLS.supportedCiphers = TLS.ciphersuite_all}
53+
{ TLS.supportedCiphers = TLS.ciphersuite_default}
5454
, TLS.clientHooks = def
5555
{ TLS.onServerCertificate = \_ _ _ _ -> return []}
5656
}

0 commit comments

Comments
 (0)