From: Tobias Brunner Date: Mon, 25 Mar 2013 17:02:07 +0000 (+0100) Subject: crypt_burn: Fix loop condition for regular crypters X-Git-Tag: 5.0.3~43 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d4f2f3dd7fbef82e88d05cbb8ecddce8113c586e;p=thirdparty%2Fstrongswan.git crypt_burn: Fix loop condition for regular crypters --- diff --git a/scripts/crypt_burn.c b/scripts/crypt_burn.c index 449364a1aa..d26a3d0fae 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),