diff options
author | lloyd <[email protected]> | 2014-01-18 21:26:38 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-01-18 21:26:38 +0000 |
commit | b3bffeff3553f4b609afe634c8c8b56ca0a2384c (patch) | |
tree | e81f39a9f86fcefffdf9e7704dd0b7a7c337edb7 /src/lib/mac | |
parent | ef465af87d61c0cfbba17b86a3e1cc48b90ab391 (diff) |
More unique_ptr, also cleanup MGF1 usage
Diffstat (limited to 'src/lib/mac')
-rw-r--r-- | src/lib/mac/ssl3mac/ssl3_mac.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/mac/ssl3mac/ssl3_mac.h b/src/lib/mac/ssl3mac/ssl3_mac.h index 8ddb13ce8..36b3e7f51 100644 --- a/src/lib/mac/ssl3mac/ssl3_mac.h +++ b/src/lib/mac/ssl3mac/ssl3_mac.h @@ -10,6 +10,7 @@ #include <botan/hash.h> #include <botan/mac.h> +#include <memory> namespace Botan { @@ -20,14 +21,14 @@ class BOTAN_DLL SSL3_MAC : public MessageAuthenticationCode { public: std::string name() const; - size_t output_length() const { return hash->output_length(); } + size_t output_length() const { return m_hash->output_length(); } MessageAuthenticationCode* clone() const; void clear(); Key_Length_Specification key_spec() const { - return Key_Length_Specification(hash->output_length()); + return Key_Length_Specification(m_hash->output_length()); } /** |