From e5d2a44fb7f31ed88553e364a421cc89c8629c84 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Thu, 5 Feb 2015 10:19:55 +0000 Subject: [PATCH] Fix error handling in ssltest Reviewed-by: Richard Levitte (cherry picked from commit ae632974f905c59176fa5f312826f8f692890b67) --- ssl/ssltest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/ssltest.c b/ssl/ssltest.c index db11f5077b..12d68e3ed4 100644 --- a/ssl/ssltest.c +++ b/ssl/ssltest.c @@ -1438,7 +1438,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) { -- 2.25.1