diff options
-rw-r--r-- | regress/lib/libcrypto/engine/enginetest.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/regress/lib/libcrypto/engine/enginetest.c b/regress/lib/libcrypto/engine/enginetest.c index 4451efb88da..bb2472a31d6 100644 --- a/regress/lib/libcrypto/engine/enginetest.c +++ b/regress/lib/libcrypto/engine/enginetest.c @@ -208,11 +208,11 @@ int main(int argc, char *argv[]) printf("\nAdding stopped at %i, (%s,%s)\n", loop, ENGINE_get_id(block[loop]), ENGINE_get_name(block[loop])); - goto cleanup_loop; - } else - printf("."); fflush(stdout); + break; + } + printf("."); + fflush(stdout); } -cleanup_loop: printf("\nAbout to empty the engine-type list\n"); while ((ptr = ENGINE_get_first()) != NULL) { if (!ENGINE_remove(ptr)) { |