diff options
author | weidai <weidai11@users.noreply.github.com> | 2003-06-19 19:05:50 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2003-06-19 19:05:50 +0000 |
commit | 64edb705d8bdbf05d74ed32aeb34790e3d3687ce (patch) | |
tree | 5f5e8cc09cd4d071d441e636d9b6320aaf12f1c9 /pwdbased.h | |
parent | 376fe5b4ae1607f4158e16bc4ace6e5b5b01154e (diff) | |
download | cryptopp-git-64edb705d8bdbf05d74ed32aeb34790e3d3687ce.tar.gz |
fix assert
Diffstat (limited to 'pwdbased.h')
-rw-r--r-- | pwdbased.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |