[Pkg-bitcoin-commits] [libsecp256k1] 15/45: Fix state size in sha256 struct

Jonas Smedegaard dr at jones.dk
Sat Aug 27 12:00:02 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libsecp256k1.

commit 2ab46954cb6318f20cb24773e214ac9426f85345
Author: Kirill Fomichev <fanatid at ya.ru>
Date:   Sat May 21 10:17:06 2016 +0300

    Fix state size in sha256 struct
---
 src/hash.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/hash.h b/src/hash.h
index 0ff01e6..fca98ca 100644
--- a/src/hash.h
+++ b/src/hash.h
@@ -11,7 +11,7 @@
 #include <stdint.h>
 
 typedef struct {
-    uint32_t s[32];
+    uint32_t s[8];
     uint32_t buf[16]; /* In big endian */
     size_t bytes;
 } secp256k1_sha256_t;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/libsecp256k1.git



More information about the Pkg-bitcoin-commits mailing list