aboutsummaryrefslogtreecommitdiffstats
path: root/crypto.cpp
diff options
context:
space:
mode:
authorsubtly <subtly@users.noreply.github.com>2014-10-28 00:21:01 +0800
committersubtly <subtly@users.noreply.github.com>2014-10-28 00:21:01 +0800
commit8dec48b6a3861507fb082b9684f1e33864da13f3 (patch)
tree2fe11238daed409677959fad4e46c79a98a0f210 /crypto.cpp
parent9fa0defcc392b233c4ca5be13b2662ee04b2d5a0 (diff)
downloaddexon-solidity-8dec48b6a3861507fb082b9684f1e33864da13f3.tar.gz
dexon-solidity-8dec48b6a3861507fb082b9684f1e33864da13f3.tar.zst
dexon-solidity-8dec48b6a3861507fb082b9684f1e33864da13f3.zip
Require secret for hmac.
Diffstat (limited to 'crypto.cpp')
-rw-r--r--crypto.cpp2
1 files changed, 1 insertions, 1 deletions
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);