summaryrefslogtreecommitdiff
path: root/pwdbased.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-06-19 19:05:50 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-06-19 19:05:50 +0000
commit67af22a90a2f06da6417def0421fba6653a75987 (patch)
tree5f5e8cc09cd4d071d441e636d9b6320aaf12f1c9 /pwdbased.h
parentab1ed4b45d7c6ea11785065027986d389e5b673a (diff)
downloadcryptopp-67af22a90a2f06da6417def0421fba6653a75987.tar.gz
fix assert
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@82 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'pwdbased.h')
-rw-r--r--pwdbased.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pwdbased.h b/pwdbased.h
index 2880704..ec9809d 100644
--- a/pwdbased.h
+++ b/pwdbased.h
@@ -51,7 +51,7 @@ public:
template <class T>
void PKCS5_PBKDF1<T>::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;