From 465fcdcf7f853523254b77687caa667f3575a259 Mon Sep 17 00:00:00 2001 From: weidai Date: Mon, 11 Dec 2006 09:18:19 +0000 Subject: fix incorrect type in UncheckedSetKey parameter git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@254 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- cbcmac.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cbcmac.h') diff --git a/cbcmac.h b/cbcmac.h index 30566d0..a8c88d3 100644 --- a/cbcmac.h +++ b/cbcmac.h @@ -12,7 +12,7 @@ class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE CBC_MAC_Base : public MessageAuthenticatio public: CBC_MAC_Base() {} - void UncheckedSetKey(const byte *key, size_t length, const NameValuePairs ¶ms); + void UncheckedSetKey(const byte *key, unsigned int length, const NameValuePairs ¶ms); void Update(const byte *input, size_t length); void TruncatedFinal(byte *mac, size_t size); unsigned int DigestSize() const {return const_cast(this)->AccessCipher().BlockSize();} -- cgit v1.2.1