HsOpenSSL 0.11.7.10 → 0.11.7.11
raw patch · 3 files changed
+34/−5 lines, 3 filesdep ~time
Dependency ranges changed: time
Files
- ChangeLog +17/−0
- HsOpenSSL.cabal +9/−3
- OpenSSL/ASN1.hsc +8/−2
ChangeLog view
@@ -1,3 +1,20 @@+2026-06-29 Vladimir Shabanov <dev@vshabanov.com>++ * HsOpenSSL.cabal (Version): Bump version to 0.11.7.11++ * Fix OpenSSL 4.0 compatibility (#106)+ by Ravi Kant Sharma @raviksharma++2026-01-31 Vladimir Shabanov <dev@vshabanov.com>++ * HsOpenSSL.cabal (Version): Bump version to 0.11.7.10++ * Allow time-1.15; bump CI to GHC 9.14+ by Andreas Abel @andreasabel++ * Disable C warnings (#95)+ by Erik de Castro Lopo @erikd+ 2025-01-02 Vladimir Shabanov <dev@vshabanov.com> * HsOpenSSL.cabal (Version): Bump version to 0.11.7.9
HsOpenSSL.cabal view
@@ -11,7 +11,7 @@ systems and stable. You may also be interested in the @tls@ package, <http://hackage.haskell.org/package/tls>, which is a pure Haskell implementation of SSL.-Version: 0.11.7.10+Version: 0.11.7.11 License: PublicDomain License-File: COPYING Author: Adam Langley, Mikhail Vorozhtsov, PHO, Taru Karttunen@@ -86,7 +86,7 @@ base >= 4.8 && < 5, bytestring >= 0.9 && < 0.13, network >= 2.1 && < 3.3,- time >= 1.5 && < 1.16+ time >= 1.5 && < 1.17 Build-Tools: hsc2hs >= 0.67 @@ -161,7 +161,13 @@ Default-Language: Haskell2010 GHC-Options:- -Wall -optc=-Wno-discarded-qualifiers -optc=-Wno-deprecated-declarations -optc=-Wno-incompatible-pointer-types+ -Wall+ -Wno-deriving-typeable+ -optc=-Wno-unknown-warning-option+ -optc=-Wno-discarded-qualifiers+ -optc=-Wno-deprecated-declarations+ -optc=-Wno-incompatible-pointer-types+ -optc=-Wno-pointer-sign C-Sources: cbits/HsOpenSSL.c Include-Dirs:
OpenSSL/ASN1.hsc view
@@ -61,10 +61,16 @@ data {-# CTYPE "openssl/asn1.h" "ASN1_STRING" #-} ASN1_STRING +foreign import capi unsafe "openssl/asn1.h ASN1_STRING_get0_data"+ _ASN1_STRING_get0_data :: Ptr ASN1_STRING -> IO (Ptr CChar)++foreign import capi unsafe "openssl/asn1.h ASN1_STRING_length"+ _ASN1_STRING_length :: Ptr ASN1_STRING -> IO CInt+ peekASN1String :: Ptr ASN1_STRING -> IO String peekASN1String strPtr- = do buf <- (#peek ASN1_STRING, data ) strPtr- len <- (#peek ASN1_STRING, length) strPtr :: IO CInt+ = do buf <- _ASN1_STRING_get0_data strPtr+ len <- _ASN1_STRING_length strPtr peekCStringLen (buf, fromIntegral len)