-{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE OverloadedStrings, CPP #-}
module Network.AMQP.Utils.Connection where
{ sharedValidationCache = def
, sharedCAStore = globalCertificateStore
}
- , clientSupported = def {supportedCiphers = ciphersuite_default}
+ , clientSupported =
+ def
+ { supportedCiphers =
+#if MIN_VERSION_tls(1,3,9)
+ ciphersuite_default
+#else
+ ciphersuite_all
+#endif
+ }
, clientHooks =
def {onCertificateRequest = myCert (cert args) (key args)}
}
process,
bytestring,
x509-system,
- tls >= 1.3.9,
+ tls,
amqp >=0.17
ghc-options: -threaded -Wall
-
+
default-language: Haskell98
other-modules: Network.AMQP.Utils.Options,
process,
bytestring,
x509-system,
- tls >= 1.3.9,
+ tls,
amqp >=0.17,
unix >= 2.7,
hinotify >= 0.3.8 && < 0.3.10,