diff options
author | Jack Lloyd <[email protected]> | 2018-03-06 16:33:32 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-03-06 16:33:32 -0500 |
commit | 34aa3778a0f426fb7487c62049570d504e447c2f (patch) | |
tree | df71d0c7826ee70c0b70aecc673c7b5e0d07c0f0 | |
parent | 7d5114aeb6431eac7deeffa29c25fdaa4b03f8d2 (diff) |
Fix test if OpenSSL provider enabled.
OpenSSL hash object just reflects the arg vs Botan object which
calls it SHA-160. Avoid the confusion by using SHA-256 instead.
-rw-r--r-- | src/tests/test_hash.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_hash.cpp b/src/tests/test_hash.cpp index f97efe249..009d93ea1 100644 --- a/src/tests/test_hash.cpp +++ b/src/tests/test_hash.cpp @@ -25,7 +25,7 @@ class Invalid_Hash_Name_Tests final : public Test test_invalid_name(result, "NonExistentHash"); test_invalid_name(result, "Blake2b(9)", "Bad output bits size for Blake2b"); test_invalid_name(result, "Comb4P(MD5,MD5)", "Comb4P: Must use two distinct hashes"); - test_invalid_name(result, "Comb4P(MD5,SHA-1)", "Comb4P: Incompatible hashes MD5 and SHA-160"); + test_invalid_name(result, "Comb4P(MD5,SHA-256)", "Comb4P: Incompatible hashes MD5 and SHA-256"); test_invalid_name(result, "Tiger(168)", "Tiger: Illegal hash output size: 168"); test_invalid_name(result, "Tiger(20,2)", "Tiger: Invalid number of passes: 2"); test_invalid_name(result, "Keccak-1600(160)", "Keccak_1600: Invalid output length 160"); |