summaryrefslogtreecommitdiffhomepage
path: root/libtomcrypt/demos/tv_gen.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2020-06-10 23:16:13 +0800
committerMatt Johnston <matt@ucc.asn.au>2020-06-10 23:16:13 +0800
commit4b305c5721f68e39320ca2e15b03a411da2305f1 (patch)
tree5b1698939cf893223f14cec77ed446f28a7d921a /libtomcrypt/demos/tv_gen.c
parent615885be01188e433cf931e2f7f85394fdc31c5d (diff)
Merge libtomcrypt v1.18.2
Diffstat (limited to 'libtomcrypt/demos/tv_gen.c')
-rw-r--r--libtomcrypt/demos/tv_gen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtomcrypt/demos/tv_gen.c b/libtomcrypt/demos/tv_gen.c
index 127c114..f49c7fd 100644
--- a/libtomcrypt/demos/tv_gen.c
+++ b/libtomcrypt/demos/tv_gen.c
@@ -78,7 +78,7 @@ void cipher_gen(void)
printf("keysize error: %s\n", error_to_string(err));
exit(EXIT_FAILURE);
}
- if (kl == lastkl) break;
+ if (kl == lastkl) continue;
lastkl = kl;
fprintf(out, "Key Size: %d bytes\n", kl);