From 633175a57a03ed9bf5a5e3577bfc26068c62b688 Mon Sep 17 00:00:00 2001 From: lloyd Date: Fri, 29 Oct 2010 13:51:27 +0000 Subject: Remove BufferedComputation::OUTPUT_LENGTH --- src/mac/ssl3mac/ssl3_mac.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mac/ssl3mac/ssl3_mac.h') diff --git a/src/mac/ssl3mac/ssl3_mac.h b/src/mac/ssl3mac/ssl3_mac.h index 455cfa266..a85a78263 100644 --- a/src/mac/ssl3mac/ssl3_mac.h +++ b/src/mac/ssl3mac/ssl3_mac.h @@ -19,10 +19,12 @@ namespace Botan { class BOTAN_DLL SSL3_MAC : public MessageAuthenticationCode { public: - void clear(); std::string name() const; + size_t output_length() const { return hash->output_length(); } MessageAuthenticationCode* clone() const; + void clear(); + Key_Length_Specification key_spec() const { return Key_Length_Specification(hash->output_length()); -- cgit v1.2.3