crypto-api 0.1.2.3 → 0.1.2.4
raw patch · 2 files changed
+11/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- System/Crypto/Random.hs +10/−0
- crypto-api.cabal +1/−1
System/Crypto/Random.hs view
@@ -38,6 +38,16 @@ CryptGenRandom(hCryptCtx, 128, randomArray); CryptReleaseContext(hCryptCtx, 0); -}++import Data.ByteString.Internal as B+import Data.Int (Int32)+import Data.Word (Word32, Word8)+import Foreign.C.String (CString, withCString)+import Foreign.Ptr (Ptr, nullPtr)+import Foreign.Marshal.Alloc (alloca)+import Foreign.Marshal.Utils (toBool)+import Foreign.Storable (peek)+ newtype CryptHandle = CH Word32 -- Define the constants we need from WinCrypt.h
crypto-api.cabal view
@@ -1,5 +1,5 @@ name: crypto-api-version: 0.1.2.3+version: 0.1.2.4 license: BSD3 license-file: LICENSE copyright: Thomas DuBuisson <thomas.dubuisson@gmail.com>, Dominic Steinitz (see Data.LargeWord module)