aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac/ssl3mac/ssl3_mac.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mac/ssl3mac/ssl3_mac.cpp')
-rw-r--r--src/mac/ssl3mac/ssl3_mac.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mac/ssl3mac/ssl3_mac.cpp b/src/mac/ssl3mac/ssl3_mac.cpp
index 781cb7f27..fc8d652c6 100644
--- a/src/mac/ssl3mac/ssl3_mac.cpp
+++ b/src/mac/ssl3mac/ssl3_mac.cpp
@@ -12,7 +12,7 @@ namespace Botan {
/*
* Update a SSL3-MAC Calculation
*/
-void SSL3_MAC::add_data(const byte input[], u32bit length)
+void SSL3_MAC::add_data(const byte input[], size_t length)
{
hash->update(input, length);
}
@@ -80,7 +80,7 @@ SSL3_MAC::SSL3_MAC(HashFunction* hash_in) :
if(hash->HASH_BLOCK_SIZE == 0)
throw Invalid_Argument("SSL3-MAC cannot be used with " + hash->name());
- u32bit INNER_HASH_LENGTH =
+ size_t INNER_HASH_LENGTH =
(hash->name() == "SHA-160") ? 60 : hash->HASH_BLOCK_SIZE;
i_key.resize(INNER_HASH_LENGTH);