summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2020-10-29 23:03:17 +0100
committerlassulus <lassulus@lassul.us>2020-10-29 23:03:17 +0100
commit07abe45cafcb93f1b30df9a9e0644b3fbd8ebfb5 (patch)
tree51dfca900f06a6e927c104c1c4c5b80300b06172 /src
parenta6893c00f78a8acd0a4bfe7da87ab6889eabcf21 (diff)
Reaktor: use new TLS api for default client settings
Diffstat (limited to 'src')
-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