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/pubkey/dlies/dlies.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pubkey/dlies') diff --git a/src/pubkey/dlies/dlies.cpp b/src/pubkey/dlies/dlies.cpp index c441ed17c..0f5d76726 100644 --- a/src/pubkey/dlies/dlies.cpp +++ b/src/pubkey/dlies/dlies.cpp @@ -36,7 +36,7 @@ SecureVector DLIES_Encryptor::enc(const byte in[], u32bit length, { if(length > maximum_input_size()) throw Invalid_Argument("DLIES: Plaintext too large"); - if(other_key.is_empty()) + if(other_key.empty()) throw Invalid_State("DLIES: The other key was never set"); MemoryVector v = key.public_value(); -- cgit v1.2.3