summaryrefslogtreecommitdiff
path: root/pwdbased.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2004-04-21 08:40:17 +0000
committerweidai <weidai11@users.noreply.github.com>2004-04-21 08:40:17 +0000
commit24caaf9e8e48936d0d08979a0c46f6c361a80c24 (patch)
tree4eb6206b5c616fdfdb44e7473d3c1d89c70aa3e6 /pwdbased.h
parent097f117d92cfa36be364e8ca9e4f0f61e63b7e24 (diff)
downloadcryptopp-git-24caaf9e8e48936d0d08979a0c46f6c361a80c24.tar.gz
fix typo
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 1387a488..aa1db3f1 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);