From: Matt Caswell Date: Thu, 5 Feb 2015 10:19:55 +0000 (+0000) Subject: Fix error handling in ssltest X-Git-Tag: OpenSSL_0_9_8zf~21 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=d7efe7ea18ffec1bcf0d93f563c175ea5094b654;p=thirdparty%2Fopenssl.git Fix error handling in ssltest Reviewed-by: Richard Levitte (cherry picked from commit ae632974f905c59176fa5f312826f8f692890b67) --- diff --git a/ssl/ssltest.c b/ssl/ssltest.c index 987e3cc4b68..2f5a1343996 100644 --- a/ssl/ssltest.c +++ b/ssl/ssltest.c @@ -1346,7 +1346,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) {