crypt_burn: Fix loop condition for regular crypters

This commit is contained in:
Tobias Brunner
2013-03-25 18:40:31 +01:00
parent f2e6a67ed9
commit d4f2f3dd7f
+1 -1
View File
@@ -101,7 +101,7 @@ int main(int argc, char *argv[])
} }
bs = crypter->get_block_size(crypter); bs = crypter->get_block_size(crypter);
while (i--) while (TRUE)
{ {
if (!crypter->encrypt(crypter, if (!crypter->encrypt(crypter,
chunk_create(buffer, sizeof(buffer) / bs * bs), chunk_create(buffer, sizeof(buffer) / bs * bs),