summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2013-01-08 19:34:33 -0800
committerIgor Babaev <igor@askmonty.org>2013-01-08 19:34:33 -0800
commitf853333e09b222f6d6d76d9343b6202b4769ffab (patch)
treeccbd97f5dbba13aa19469b61108bdc6e10c3a255 /extra
parent88b59efef6ae869bac9d14cefe2982a1061d3c93 (diff)
parent7d9df8075e4c9392f4352e6ccd86921994f264bc (diff)
downloadmariadb-git-f853333e09b222f6d6d76d9343b6202b4769ffab.tar.gz
Merge 5.5-mwl248 -> 10.0-base
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;