secure-sockets 1.2.9.1 → 1.2.9.2
raw patch · 2 files changed
+8/−5 lines, 2 filesdep ~bytestringdep ~networknew-uploaderPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: bytestring, network
API changes (from Hackage documentation)
Files
- Network/Secure.hs +5/−2
- secure-sockets.cabal +3/−3
Network/Secure.hs view
@@ -91,15 +91,18 @@ -- > do -- > me <- readFile "b.key" >>= readIdentity -- > you <- readFile "a.pub" >>= readIdentity--- > conn <- connect me you ("a.com", "4242")+-- > conn <- connect me [you] ("a.com", "4242") -- -- Et voila! From there on, you can communicate using the usual -- socket-ish API: -- -- > do -- > write conn "hello?"--- > read conn >>= putStrLn+-- > read conn 128 >>= putStrLn -- > close conn+--+-- N.B. The program should start with 'withOpenSSL' in order to initialize SSL+-- (@main = withOpenSSL $ do@). -- $internals --
secure-sockets.cabal view
@@ -1,5 +1,5 @@ Name: secure-sockets-Version: 1.2.9.1+Version: 1.2.9.2 Synopsis: Secure point-to-point connectivity library Description: This library simplifies the task of securely connecting two@@ -21,10 +21,10 @@ Network.Secure.Identity Other-modules: Network.Secure.Connection Build-depends: base ==4.*,- bytestring ==0.9.*,+ bytestring >=0.9, directory, HsOpenSSL >=0.10.2,- network ==2.*,+ network >=2, transformers >=0.2, process ghc-prof-options: -auto-all