From 67af22a90a2f06da6417def0421fba6653a75987 Mon Sep 17 00:00:00 2001 From: weidai Date: Thu, 19 Jun 2003 19:05:50 +0000 Subject: fix assert git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@82 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- pwdbased.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pwdbased.h') diff --git a/pwdbased.h b/pwdbased.h index 2880704..ec9809d 100644 --- a/pwdbased.h +++ b/pwdbased.h @@ -51,7 +51,7 @@ public: template void PKCS5_PBKDF1::DeriveKey(byte *derived, unsigned int derivedLen, const byte *password, unsigned int passwordLen, const byte *salt, unsigned int saltLen, unsigned int iterations) const { - assert(derivedLen <= MaxDerivedLength()); + assert(derivedLen <= MaxDerivedKeyLength()); assert(iterations > 0); T hash; -- cgit v1.2.1