Merge pull request #4739

9c1c92db tests: fix MSYS2 gcc 7.3.0 warning -Wtype-limits (xiphon)
This commit is contained in:
Riccardo Spagni 2018-11-06 21:32:06 +02:00
commit f7edda5304
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ extern "C" {
#define TEST_KECCAK(sz, chunks) \
std::string data; \
data.resize(sz); \
for (size_t i = 0; i < sz; ++i) \
for (size_t i = 0; i < data.size(); ++i) \
data[i] = i * 17; \
uint8_t md0[32], md1[32]; \
keccak((const uint8_t*)data.data(), data.size(), md0, 32); \