aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Reaktor.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Reaktor.hs b/src/Reaktor.hs
index cc93109..caddbc9 100644
--- a/src/Reaktor.hs
+++ b/src/Reaktor.hs
@@ -44,7 +44,7 @@ import System.Posix.Signals
run :: Config -> Maybe API.Config -> (Actions -> IO [Message -> IO ()]) -> IO ()
run Config{..} apiConfig getPlugins =
if cUseTLS then do
- s <- TLS.getDefaultClientSettings (cHostName, BS.pack cServiceName)
+ s <- TLS.newDefaultClientParams (cHostName, BS.pack cServiceName)
TLS.connect s cHostName cServiceName $ \(ctx, sockAddr) ->
withSocket sockAddr (TLS.send ctx) (TLS.recv ctx)
else do