summaryrefslogtreecommitdiff
path: root/pwdbased.h
diff options
context:
space:
mode:
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 28807046..ec9809d9 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;