diff options
author | lloyd <[email protected]> | 2010-02-14 02:11:46 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-02-14 02:11:46 +0000 |
commit | 0d41a310316b5ca4144326cad39770f3108a6cec (patch) | |
tree | e8901e6d032cb7ed5c3643810e55cfe6f63d05c7 /checks/validate.cpp | |
parent | 7c9cd7a78ee94eb89fe97144cb1caa45783767b3 (diff) |
Correct passhash9 vector for recent format changes (longer salt+PRF output, alg id)
Diffstat (limited to 'checks/validate.cpp')
-rw-r--r-- | checks/validate.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/checks/validate.cpp b/checks/validate.cpp index 0df0aa478..b0a877b94 100644 --- a/checks/validate.cpp +++ b/checks/validate.cpp @@ -71,7 +71,8 @@ bool test_passhash(RandomNumberGenerator& rng) #if defined(BOTAN_HAS_PASSHASH9) const std::string input = "secret"; - const std::string fixed_hash = "$9$AArBRAG0kcKp3XPDUgd32ONhutn9HMQKix7H"; + const std::string fixed_hash = + "$9$AAAKhiHXTIUhNhbegwBXJvk03XXJdzFMy+i3GFMIBYKtthTTmXZA"; if(!check_passhash9(input, fixed_hash)) return false; @@ -207,7 +208,7 @@ u32bit do_validation_tests(const std::string& filename, if(should_pass && !test_passhash(rng)) { - std::cout << "Passhash tests failed" << std::endl; + std::cout << "Passhash9 tests failed" << std::endl; errors++; } |