SHA2 0.2.2 → 0.2.3
raw patch · 2 files changed
+2/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- SHA2.cabal +1/−1
- cbits/sha2.c +1/−1
SHA2.cabal view
@@ -1,7 +1,7 @@ Name: SHA2 Synopsis: Fast, incremental SHA hashing for bytestrings Description: A zero-copy binding to Aaron Gifford's SHA implementation, including a copy of that implementation-Version: 0.2.2+Version: 0.2.3 License: BSD3 License-file: COPYING Copyright: Copyright (c) 2009 University of Tromsø
cbits/sha2.c view
@@ -960,7 +960,7 @@ if (buffer != (char*)0) { SHA512_Final(digest, context);- memcpy(buffer, d, SHA384_DIGEST_LENGTH);+ memcpy(buffer, d, SHA512_DIGEST_LENGTH); } else { MEMSET_BZERO(context, sizeof(context)); }