peyotls 0.0.0.6 → 0.0.0.7
raw patch · 2 files changed
+4/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- peyotls.cabal +2/−2
- src/Network/PeyoTLS/Client.hs +2/−1
peyotls.cabal view
@@ -2,7 +2,7 @@ cabal-version: >= 1.8 name: peyotls-version: 0.0.0.6+version: 0.0.0.7 stability: Experimental author: Yoshikuni Jujo <PAF01143@nifty.ne.jp> maintainer: Yoshikuni Jujo <PAF01143@nifty.ne.jp>@@ -272,7 +272,7 @@ source-repository this type: git location: git://github.com/YoshikuniJujo/peyotls.git- tag: peyotls-0.0.0.6+ tag: peyotls-0.0.0.7 library hs-source-dirs: src
src/Network/PeyoTLS/Client.hs view
@@ -100,7 +100,8 @@ [(CertSecretKey, X509.CertificateChain)] -> X509.CertificateStore -> HandshakeM h g () dheHandshake t cr sr crts ca = do- cc@(X509.CertificateChain (c : _)) <- readHandshake+ cc@(X509.CertificateChain cs) <- readHandshake+ let c = last cs case X509.certPubKey . X509.signedObject $ X509.getSigned c of X509.PubKeyRSA pk -> succeedHandshake t pk cr sr cc crts ca X509.PubKeyECDSA cv pnt ->