aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac/ssl3mac/ssl3_mac.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mac/ssl3mac/ssl3_mac.h')
-rw-r--r--src/mac/ssl3mac/ssl3_mac.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mac/ssl3mac/ssl3_mac.h b/src/mac/ssl3mac/ssl3_mac.h
index 8ab08c97d..9b4be4e2f 100644
--- a/src/mac/ssl3mac/ssl3_mac.h
+++ b/src/mac/ssl3mac/ssl3_mac.h
@@ -19,12 +19,14 @@ class SSL3_MAC : public MessageAuthenticationCode
void clear() throw();
std::string name() const;
MessageAuthenticationCode* clone() const;
- SSL3_MAC(const std::string&);
+
+ SSL3_MAC(HashFunction*);
~SSL3_MAC() { delete hash; }
private:
void add_data(const byte[], u32bit);
void final_result(byte[]);
void key(const byte[], u32bit);
+
HashFunction* hash;
SecureVector<byte> i_key, o_key;
};