packages feed

http2-tls 0.4.8 → 0.4.9

raw patch · 3 files changed

+8/−4 lines, 3 filesdep ~crypton-x509-storePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: crypton-x509-store

API changes (from Hackage documentation)

Files

Network/HTTP2/TLS/Client.hs view
@@ -54,6 +54,7 @@ import Data.ByteString (ByteString) import qualified Data.ByteString.Char8 as BS.C8 import Data.Maybe (fromMaybe)+import Data.X509.CertificateStore (isEmptyCertificateStore) import Network.HTTP2.Client (Authority, Client, ClientConfig) import qualified Network.HTTP2.Client as H2Client import Network.Run.TCP (runTCPClientWithSettings)@@ -250,7 +251,10 @@ getClientParams Settings{..} sni port alpn = do     caStore <-         if settingsValidateCert-            then getSystemCertificateStore+            then+                if isEmptyCertificateStore settingsCAStore+                    then getSystemCertificateStore+                    else return settingsCAStore             else return mempty     let shared =             defaultShared
Network/HTTP2/TLS/Client/Settings.hs view
@@ -38,7 +38,7 @@     --     -- Default: 'validateDefault'     , settingsCAStore :: CertificateStore-    -- ^ Obsoleted.+    -- ^ Certificate store used for validation. (TLS and H2)     --     -- Default: 'mempty'.     , settingsServerNameOverride :: Maybe HostName
http2-tls.cabal view
@@ -1,6 +1,6 @@ cabal-version: >=1.10 name:          http2-tls-version:       0.4.8+version:       0.4.9 license:       BSD3 license-file:  LICENSE maintainer:    Kazu Yamamoto <kazu@iij.ad.jp>@@ -38,7 +38,7 @@     build-depends:         base >=4.9 && <5,         bytestring >=0.10,-        crypton-x509-store >=1.6 && <1.7,+        crypton-x509-store >=1.6.11 && <1.7.0,         crypton-x509-system >=1.6 && <1.7,         crypton-x509-validation >=1.6 && <1.7,         http2 >=5.3.9 && <5.4,