From 35b60208359a8c67fa773e733927d16046b416c9 Mon Sep 17 00:00:00 2001 From: Michael Widenius Date: Wed, 19 Dec 2012 21:58:05 +0200 Subject: Fixed some compiler warnings client/mysqldump.c: Removed compiler warning extra/yassl/taocrypt/include/pwdbased.hpp: Removed compiler warning (iterations is always unsigned) support-files/compiler_warnings.supp: Ignore warnings from groff --- extra/yassl/taocrypt/include/pwdbased.hpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'extra/yassl/taocrypt') diff --git a/extra/yassl/taocrypt/include/pwdbased.hpp b/extra/yassl/taocrypt/include/pwdbased.hpp index d050fd8988b..58bd5902a58 100644 --- a/extra/yassl/taocrypt/include/pwdbased.hpp +++ b/extra/yassl/taocrypt/include/pwdbased.hpp @@ -51,9 +51,6 @@ word32 PBKDF2_HMAC::DeriveKey(byte* derived, word32 dLen, const byte* pwd, if (dLen > MaxDerivedKeyLength()) return 0; - if (iterations < 0) - return 0; - ByteBlock buffer(T::DIGEST_SIZE); HMAC hmac; -- cgit v1.2.1