fix assert

import/raw
weidai 2003-06-19 19:05:50 +00:00
parent f740734728
commit efa0fc92b7
1 changed files with 1 additions and 1 deletions

View File

@ -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;