summaryrefslogtreecommitdiff
path: root/pwdbased.h
diff options
context:
space:
mode:
Diffstat (limited to 'pwdbased.h')
-rw-r--r--pwdbased.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pwdbased.h b/pwdbased.h
index 1387a48..aa1db3f 100644
--- a/pwdbased.h
+++ b/pwdbased.h
@@ -74,7 +74,7 @@ unsigned int PKCS5_PBKDF1<T>::DeriveKey(byte *derived, unsigned int derivedLen,
if (timeInSeconds)
timer.StartTimer();
- for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)) : ; i++)
+ for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
hash.CalculateDigest(buffer, buffer, buffer.size());
memcpy(derived, buffer, derivedLen);