diff options
author | lloyd <lloyd@randombit.net> | 2009-11-17 05:03:06 +0000 |
---|---|---|
committer | lloyd <lloyd@randombit.net> | 2009-11-17 05:03:06 +0000 |
commit | 0d27bc0f8763cb6dd6307dbab7713058dee18b2c (patch) | |
tree | 5cb428e1c4475ca24f1e4a84dfdc07c7a9e91393 /src/mac/ssl3mac | |
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 'src/mac/ssl3mac')
-rw-r--r-- | src/mac/ssl3mac/ssl3_mac.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mac/ssl3mac/ssl3_mac.cpp b/src/mac/ssl3mac/ssl3_mac.cpp index 23a636424..a4c0c635e 100644 --- a/src/mac/ssl3mac/ssl3_mac.cpp +++ b/src/mac/ssl3mac/ssl3_mac.cpp @@ -83,8 +83,8 @@ SSL3_MAC::SSL3_MAC(HashFunction* hash_in) : u32bit INNER_HASH_LENGTH = (hash->name() == "SHA-160") ? 60 : hash->HASH_BLOCK_SIZE; - i_key.create(INNER_HASH_LENGTH); - o_key.create(INNER_HASH_LENGTH); + i_key.resize(INNER_HASH_LENGTH); + o_key.resize(INNER_HASH_LENGTH); } } |