summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2012-12-19 21:58:05 +0200
committerMichael Widenius <monty@askmonty.org>2012-12-19 21:58:05 +0200
commit35b60208359a8c67fa773e733927d16046b416c9 (patch)
treec81375280357b4173e36c916ccd35011377b3ab7 /extra
parentfef08da3e742fb54d1b827f117d4bbe9aa554b5f (diff)
downloadmariadb-git-35b60208359a8c67fa773e733927d16046b416c9.tar.gz
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
Diffstat (limited to 'extra')
-rw-r--r--extra/yassl/taocrypt/include/pwdbased.hpp3
1 files changed, 0 insertions, 3 deletions
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<T>::DeriveKey(byte* derived, word32 dLen, const byte* pwd,
if (dLen > MaxDerivedKeyLength())
return 0;
- if (iterations < 0)
- return 0;
-
ByteBlock buffer(T::DIGEST_SIZE);
HMAC<T> hmac;