HsOpenSSL 0.11.4.15 → 0.11.4.16
raw patch · 3 files changed
+15/−3 lines, 3 filesdep ~bytestringdep ~networkdep ~timePVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: bytestring, network, time
API changes (from Hackage documentation)
- OpenSSL.Cipher: aesCTR :: AESCtx -> ByteString -> IO ByteString
- OpenSSL.Session: instance GHC.Exception.Exception OpenSSL.Session.ConnectionAbruptlyTerminated
- OpenSSL.Session: instance GHC.Exception.Exception OpenSSL.Session.ProtocolError
- OpenSSL.Session: instance GHC.Exception.Exception OpenSSL.Session.SomeSSLException
+ OpenSSL.Session: SSL_OP_TLSEXT_PADDING :: SSLOption
+ OpenSSL.Session: instance GHC.Exception.Type.Exception OpenSSL.Session.ConnectionAbruptlyTerminated
+ OpenSSL.Session: instance GHC.Exception.Type.Exception OpenSSL.Session.ProtocolError
+ OpenSSL.Session: instance GHC.Exception.Type.Exception OpenSSL.Session.SomeSSLException
- OpenSSL.EVP.Internal: Cipher :: (Ptr EVP_CIPHER) -> Cipher
+ OpenSSL.EVP.Internal: Cipher :: Ptr EVP_CIPHER -> Cipher
- OpenSSL.EVP.Internal: CipherCtx :: (ForeignPtr EVP_CIPHER_CTX) -> CipherCtx
+ OpenSSL.EVP.Internal: CipherCtx :: ForeignPtr EVP_CIPHER_CTX -> CipherCtx
- OpenSSL.EVP.Internal: Digest :: (Ptr EVP_MD) -> Digest
+ OpenSSL.EVP.Internal: Digest :: Ptr EVP_MD -> Digest
- OpenSSL.EVP.Internal: DigestCtx :: (ForeignPtr EVP_MD_CTX) -> DigestCtx
+ OpenSSL.EVP.Internal: DigestCtx :: ForeignPtr EVP_MD_CTX -> DigestCtx
- OpenSSL.EVP.Internal: HmacCtx :: (ForeignPtr HMAC_CTX) -> HmacCtx
+ OpenSSL.EVP.Internal: HmacCtx :: ForeignPtr HMAC_CTX -> HmacCtx
- OpenSSL.EVP.Internal: VaguePKey :: (ForeignPtr EVP_PKEY) -> VaguePKey
+ OpenSSL.EVP.Internal: VaguePKey :: ForeignPtr EVP_PKEY -> VaguePKey
- OpenSSL.PKCS7: Pkcs7VerifySuccess :: (Maybe String) -> Pkcs7VerifyStatus
+ OpenSSL.PKCS7: Pkcs7VerifySuccess :: Maybe String -> Pkcs7VerifyStatus
Files
- ChangeLog +7/−0
- HsOpenSSL.cabal +1/−1
- OpenSSL/Session.hsc +7/−2
ChangeLog view
@@ -1,3 +1,10 @@+2019-01-21 Vladimir Shabanov <dev@vshabanov.com>++ * HsOpenSSL.cabal (Version): Bump version to 0.11.4.16++ * Compatibility for network-3.0.0+ by Roman Borschel romanb (#40)+ 2018-09-08 Vladimir Shabanov <dev@vshabanov.com> * HsOpenSSL.cabal (Version): Bump version to 0.11.4.15
HsOpenSSL.cabal view
@@ -12,7 +12,7 @@ <http://hackage.haskell.org/package/tls>, which is a pure Haskell implementation of SSL. .-Version: 0.11.4.15+Version: 0.11.4.16 License: PublicDomain License-File: COPYING Author: Adam Langley, Mikhail Vorozhtsov, PHO, Taru Karttunen
OpenSSL/Session.hsc view
@@ -101,7 +101,7 @@ import qualified Data.ByteString.Lazy.Internal as L import System.IO.Unsafe import System.Posix.Types (Fd(..))-import Network.Socket (Socket(..))+import Network.Socket (Socket, fdSocket) #if !MIN_VERSION_base(4,8,0) import Control.Applicative ((<$>), (<$))@@ -380,7 +380,12 @@ -- carries a handle to the Socket so you need not worry about the garbage -- collector closing the file descriptor out from under you. connection :: SSLContext -> Socket -> IO SSL-connection context sock@(MkSocket fd _ _ _ _) =+connection context sock = do+#if MIN_VERSION_network(3,0,0)+ fd <- fdSocket sock+#else+ let fd = fdSocket sock+#endif connection' context (Fd fd) (Just sock) -- | Wrap a socket Fd in an SSL connection.