aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-10-06 13:35:44 -0400
committerJack Lloyd <[email protected]>2019-10-06 13:35:44 -0400
commit0cefeaa42d0d2c189a6eea4032c4b64f88d759d9 (patch)
tree6409aa619448d2cfcf44bfa75214f78161db97e9
parente1b2c57aee6c5c41a071d451fa65ce079180b82d (diff)
Fix FFI test failure when Scrypt is disabled in build
-rw-r--r--src/tests/test_ffi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test_ffi.cpp b/src/tests/test_ffi.cpp
index ef9dab2d1..03974589d 100644
--- a/src/tests/test_ffi.cpp
+++ b/src/tests/test_ffi.cpp
@@ -1532,8 +1532,8 @@ class FFI_Unit_Tests final : public Test
}
else
{
- // PBKDF2 currently always rounds to multiple of 10,000
- result.test_eq("Expected PBKDF2 iters", pbkdf_iters_out % 10000, 0);
+ // PBKDF2 currently always rounds to multiple of 2000
+ result.test_eq("Expected PBKDF2 iters", pbkdf_iters_out % 2000, 0);
}
privkey.resize(privkey_len);