Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
release 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vincenthz committed Apr 22, 2019
1 parent 3edcf94 commit 8ce3b79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Network/Connection.hs
Expand Up @@ -47,9 +47,9 @@ module Network.Connection
-- * TLS related operation
, connectionSetSecure
, connectionIsSecure
, connectionSessionManager
) where

import Control.Applicative
import Control.Concurrent.MVar
import Control.Monad (join)
import qualified Control.Exception as E
Expand Down Expand Up @@ -111,7 +111,7 @@ initConnectionContext = ConnectionContext <$> getSystemCertificateStore
makeTLSParams :: ConnectionContext -> ConnectionID -> TLSSettings -> TLS.ClientParams
makeTLSParams cg cid ts@(TLSSettingsSimple {}) =
(TLS.defaultParamsClient (fst cid) portString)
{ TLS.clientSupported = def { TLS.supportedCiphers = TLS.ciphersuite_all }
{ TLS.clientSupported = def { TLS.supportedCiphers = TLS.ciphersuite_default }
, TLS.clientShared = def
{ TLS.sharedCAStore = globalCertificateStore cg
, TLS.sharedValidationCache = validationCache
Expand Down

0 comments on commit 8ce3b79

Please sign in to comment.