diff options
author | lloyd <[email protected]> | 2009-11-17 05:03:06 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-11-17 05:03:06 +0000 |
commit | 0d27bc0f8763cb6dd6307dbab7713058dee18b2c (patch) | |
tree | 5cb428e1c4475ca24f1e4a84dfdc07c7a9e91393 /checks/block.cpp | |
parent | 0753d6e2c478430d8cd1a0df8d21f68a05260300 (diff) |
Rename/remove some secmem member variables for better matching with STL
containers (specifically vector).
Rename is_empty to empty
Remove has_items
Rename create to resize
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; } |