aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/crypt_burn.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-03-25 18:02:07 +0100
committerTobias Brunner <tobias@strongswan.org>2013-03-25 18:40:31 +0100
commitd4f2f3dd7fbef82e88d05cbb8ecddce8113c586e (patch)
treea1fd40100149b9d8f79dfb0b8edb773888279dce /scripts/crypt_burn.c
parentf2e6a67ed9120e6cc331e9737e24f6d76f5a40e0 (diff)
downloadstrongswan-d4f2f3dd7fbef82e88d05cbb8ecddce8113c586e.tar.bz2
strongswan-d4f2f3dd7fbef82e88d05cbb8ecddce8113c586e.tar.xz
crypt_burn: Fix loop condition for regular crypters
Diffstat (limited to 'scripts/crypt_burn.c')
-rw-r--r--scripts/crypt_burn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/crypt_burn.c b/scripts/crypt_burn.c
index 449364a1a..d26a3d0fa 100644
--- a/scripts/crypt_burn.c
+++ b/scripts/crypt_burn.c
@@ -101,7 +101,7 @@ int main(int argc, char *argv[])
}
bs = crypter->get_block_size(crypter);
- while (i--)
+ while (TRUE)
{
if (!crypter->encrypt(crypter,
chunk_create(buffer, sizeof(buffer) / bs * bs),