From 79cacfe8e928887e03ab7992ffd64ff8340adcd7 Mon Sep 17 00:00:00 2001 From: lloyd Date: Sun, 23 Nov 2008 15:28:48 +0000 Subject: Using SHA-1 as the check hash in the block cipher tests is messy b/c SHA-1 has many engine variants, etc. Instead use CRC32 which tends to work and not be surprising. --- checks/block.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'checks/block.cpp') diff --git a/checks/block.cpp b/checks/block.cpp index b9613e542..1e7de3726 100644 --- a/checks/block.cpp +++ b/checks/block.cpp @@ -25,7 +25,7 @@ class ECB_Encryption_ErrorCheck : public Filter const SymmetricKey& key) : BLOCKSIZE(block_size_of(cipher_name)) { - const std::string HASH = "SHA-1"; + const std::string HASH = "CRC32"; cipher = get_block_cipher(cipher_name); input_hash = get_hash(HASH); -- cgit v1.2.3