aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac/hmac/hmac.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mac/hmac/hmac.h')
-rw-r--r--src/mac/hmac/hmac.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mac/hmac/hmac.h b/src/mac/hmac/hmac.h
index 62529cf13..67ebc4190 100644
--- a/src/mac/hmac/hmac.h
+++ b/src/mac/hmac/hmac.h
@@ -19,7 +19,8 @@ class BOTAN_DLL HMAC : public MessageAuthenticationCode
void clear() throw();
std::string name() const;
MessageAuthenticationCode* clone() const;
- HMAC(const std::string&);
+
+ HMAC(HashFunction* hash);
~HMAC() { delete hash; }
private:
void add_data(const byte[], u32bit);