aboutsummaryrefslogtreecommitdiffstats
path: root/checks/block.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-23 15:28:48 +0000
committerlloyd <[email protected]>2008-11-23 15:28:48 +0000
commit79cacfe8e928887e03ab7992ffd64ff8340adcd7 (patch)
tree6c64fcbc2010c974611fc63e930c06f2a0300fca /checks/block.cpp
parentecc6e2ef456a924dae287ce6c3326e0b2f65a786 (diff)
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.
Diffstat (limited to 'checks/block.cpp')
-rw-r--r--checks/block.cpp2
1 files changed, 1 insertions, 1 deletions
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);