diff options
author | subtly <subtly@users.noreply.github.com> | 2014-10-28 00:21:01 +0800 |
---|---|---|
committer | subtly <subtly@users.noreply.github.com> | 2014-10-28 00:21:01 +0800 |
commit | 8dec48b6a3861507fb082b9684f1e33864da13f3 (patch) | |
tree | 2fe11238daed409677959fad4e46c79a98a0f210 /crypto.cpp | |
parent | 9fa0defcc392b233c4ca5be13b2662ee04b2d5a0 (diff) | |
download | dexon-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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |