From 5283f5059b14d63ed0ed54c8384890320fbb9ec6 Mon Sep 17 00:00:00 2001 From: weidai Date: Sat, 19 Jun 2004 08:28:09 +0000 Subject: port to GCC 3.4 git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@168 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- cbcmac.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cbcmac.h') diff --git a/cbcmac.h b/cbcmac.h index b15c728..a05d5c6 100644 --- a/cbcmac.h +++ b/cbcmac.h @@ -35,8 +35,8 @@ class CBC_MAC : public MessageAuthenticationCodeImpl >, { public: CBC_MAC() {} - CBC_MAC(const byte *key, unsigned int length=DEFAULT_KEYLENGTH) - {SetKey(key, length);} + CBC_MAC(const byte *key, unsigned int length=SameKeyLengthAs::DEFAULT_KEYLENGTH) + {this->SetKey(key, length);} static std::string StaticAlgorithmName() {return std::string("CBC-MAC(") + T::StaticAlgorithmName() + ")";} -- cgit v1.2.1