Fix error handling in ssltest
authorMatt Caswell <matt@openssl.org>
Thu, 5 Feb 2015 10:19:55 +0000 (10:19 +0000)
committerMatt Caswell <matt@openssl.org>
Fri, 6 Feb 2015 10:08:16 +0000 (10:08 +0000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
ssl/ssltest.c

index 3eb13e26dd4b2ee0b5b00515ff061d16360aabb0..fb51dddc44963374fbd333b589ea189e697e3b69 100644 (file)
@@ -2242,7 +2242,7 @@ int doit(SSL *s_ssl, SSL *c_ssl, long count)
         if (!do_client && !do_server) {
             fprintf(stdout, "ERROR IN STARTUP\n");
             ERR_print_errors(bio_err);
-            break;
+            goto err;
         }
         if (do_client && !(done & C_DONE)) {
             if (c_write) {