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/rng/randpool/randpool.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/rng/randpool') diff --git a/src/rng/randpool/randpool.cpp b/src/rng/randpool/randpool.cpp index 9ec92267d..fb51db300 100644 --- a/src/rng/randpool/randpool.cpp +++ b/src/rng/randpool/randpool.cpp @@ -192,9 +192,9 @@ Randpool::Randpool(BlockCipher* cipher_in, cipher->name() + "/" + mac->name()); } - buffer.create(BLOCK_SIZE); - pool.create(POOL_BLOCKS * BLOCK_SIZE); - counter.create(12); + buffer.resize(BLOCK_SIZE); + pool.resize(POOL_BLOCKS * BLOCK_SIZE); + counter.resize(12); seeded = false; } -- cgit v1.2.3