From 8dec48b6a3861507fb082b9684f1e33864da13f3 Mon Sep 17 00:00:00 2001 From: subtly Date: Mon, 27 Oct 2014 17:21:01 +0100 Subject: Require secret for hmac. --- crypto.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto.cpp') diff --git a/crypto.cpp b/crypto.cpp index c1f678fc..3d47d0b0 100644 --- a/crypto.cpp +++ b/crypto.cpp @@ -99,7 +99,7 @@ BOOST_AUTO_TEST_CASE(cryptopp_ecdsa_sipaseckp256k1) bytes m(fromHex("0x01")); int tests = 5; - while (m[0]++ && tests--) + while (m[0]++, tests--) { h256 hm(sha3(m)); Integer hInt(hm.asBytes().data(), 32); -- cgit v1.2.3