diff libtomcrypt/demos/tv_gen.c @ 1733:d529a52b2f7c coverity coverity

merge coverity from main
author Matt Johnston <matt@ucc.asn.au>
date Fri, 26 Jun 2020 21:07:34 +0800
parents e9dba7abd939
children
line wrap: on
line diff
--- a/libtomcrypt/demos/tv_gen.c	Thu Mar 21 23:28:59 2019 +0800
+++ b/libtomcrypt/demos/tv_gen.c	Fri Jun 26 21:07:34 2020 +0800
@@ -78,7 +78,7 @@
             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);