cryptostore 0.2.1.0 → 0.2.2.0
raw patch · 4 files changed
+7/−3 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- LICENSE +1/−1
- cryptostore.cabal +1/−1
- src/Crypto/Store/PKCS5/PBES1.hs +1/−1
ChangeLog.md view
@@ -1,5 +1,9 @@ # Revision history for cryptostore +## 0.2.2.0 - 2022-04-16++* Fix buffer overrun in `pkcs12Derive`+ ## 0.2.1.0 - 2019-10-13 * Added CMS fuctions `contentInfoToDER` and `berToContentInfo` in order to
LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2018-2019, Olivier Chéron+Copyright (c) 2018-2022, Olivier Chéron All rights reserved.
cryptostore.cabal view
@@ -1,5 +1,5 @@ name: cryptostore-version: 0.2.1.0+version: 0.2.2.0 synopsis: Serialization of cryptographic data types description: Haskell implementation of PKCS \#8, PKCS \#12 and CMS (Cryptographic Message Syntax).
src/Crypto/Store/PKCS5/PBES1.hs view
@@ -288,7 +288,7 @@ B.allocAndFreeze n $ \pout -> B.withByteArray bs $ \pin -> do mapM_ (\off -> memCopy (pout `plusPtr` off) pin len)- (enumFromThenTo 0 len (n - 1))+ (enumFromThenTo 0 len (n - len)) memCopy (pout `plusPtr` (n - r)) pin r where len = B.length bs