crypto-random 0.0.3 → 0.0.4
raw patch · 2 files changed
+3/−3 lines, 2 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- Crypto/Random/Entropy.hs +2/−2
- crypto-random.cabal +1/−1
Crypto/Random/Entropy.hs view
@@ -64,8 +64,8 @@ where (B.PS fptr o len) = bs loop d s i | i == 0 = return ()- | i <= len = B.memcpy d s i- | otherwise = B.memcpy d s len >> loop (d `plusPtr` len) s (i-len)+ | i <= len = B.memcpy d s (fromIntegral i)+ | otherwise = B.memcpy d s (fromIntegral len) >> loop (d `plusPtr` len) s (i-len) entropyClose _ = return () openBackend :: EntropySource b => b -> IO (Maybe EntropyBackend)
crypto-random.cabal view
@@ -1,5 +1,5 @@ Name: crypto-random-Version: 0.0.3+Version: 0.0.4 Description: Simple cryptographic random related types License: BSD3 License-file: LICENSE