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/codec/base64/base64.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/codec/base64') diff --git a/src/codec/base64/base64.cpp b/src/codec/base64/base64.cpp index dfcc1cae7..9110dc57e 100644 --- a/src/codec/base64/base64.cpp +++ b/src/codec/base64/base64.cpp @@ -18,8 +18,8 @@ namespace Botan { Base64_Encoder::Base64_Encoder(bool breaks, u32bit length, bool t_n) : line_length(breaks ? length : 0), trailing_newline(t_n) { - in.create(48); - out.create(4); + in.resize(48); + out.resize(4); counter = position = 0; } @@ -132,8 +132,8 @@ void Base64_Encoder::end_msg() */ Base64_Decoder::Base64_Decoder(Decoder_Checking c) : checking(c) { - in.create(48); - out.create(3); + in.resize(48); + out.resize(3); position = 0; } -- cgit v1.2.3