From 0d27bc0f8763cb6dd6307dbab7713058dee18b2c Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 17 Nov 2009 05:03:06 +0000 Subject: 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 --- src/block/lion/lion.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/block/lion/lion.cpp') diff --git a/src/block/lion/lion.cpp b/src/block/lion/lion.cpp index e71091258..d8822b9f2 100644 --- a/src/block/lion/lion.cpp +++ b/src/block/lion/lion.cpp @@ -119,8 +119,8 @@ Lion::Lion(HashFunction* hash_in, StreamCipher* sc_in, u32bit block_len) : if(!cipher->valid_keylength(LEFT_SIZE)) throw Exception(name() + ": This stream/hash combination is invalid"); - key1.create(LEFT_SIZE); - key2.create(LEFT_SIZE); + key1.resize(LEFT_SIZE); + key2.resize(LEFT_SIZE); } } -- cgit v1.2.3