diff options
Diffstat (limited to 'checks/block.cpp')
-rw-r--r-- | checks/block.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checks/block.cpp b/checks/block.cpp index 1e7de3726..8f07cd65c 100644 --- a/checks/block.cpp +++ b/checks/block.cpp @@ -30,7 +30,7 @@ class ECB_Encryption_ErrorCheck : public Filter cipher = get_block_cipher(cipher_name); input_hash = get_hash(HASH); decrypt_hash = get_hash(HASH); - buffer.create(BLOCKSIZE); + buffer.resize(BLOCKSIZE); cipher->set_key(key); position = 0; } |