aboutsummaryrefslogtreecommitdiffstats
path: root/checks/validate.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-04-11 20:30:04 +0000
committerlloyd <[email protected]>2011-04-11 20:30:04 +0000
commitb958d1d28fab4d9c23a85c0745dc7c1dc3446b61 (patch)
tree66c61effd1b23c9ddcc3d86078dd5416cba091bf /checks/validate.cpp
parent14fa61b489d059e7a7b10a205a4b0b498fac1695 (diff)
Make the alg_id param for passhash9 optional. Update callers.
Diffstat (limited to 'checks/validate.cpp')
-rw-r--r--checks/validate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/checks/validate.cpp b/checks/validate.cpp
index 9acf73419..d79f9783a 100644
--- a/checks/validate.cpp
+++ b/checks/validate.cpp
@@ -239,7 +239,7 @@ bool test_passhash(RandomNumberGenerator& rng)
for(byte alg_id = 0; alg_id <= 2; ++alg_id)
{
- std::string gen_hash = generate_passhash9(input, alg_id, rng, 1);
+ std::string gen_hash = generate_passhash9(input, rng, 2, alg_id);
if(!check_passhash9(input, gen_hash))
return false;