summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-02-05 10:19:55 +0000
committerMatt Caswell <matt@openssl.org>2015-02-06 10:10:49 +0000
commitf8e662e71cd18e8b077c5450f955cfc34b178457 (patch)
treee08345eeeea532a67e48ef177143aa91e94cc4e8
parent468e04bf1f0ff149e47b17c1de72c1d644e4bbd2 (diff)
downloadopenssl-new-f8e662e71cd18e8b077c5450f955cfc34b178457.tar.gz
Fix error handling in ssltest
Reviewed-by: Richard Levitte <levitte@openssl.org> (cherry picked from commit ae632974f905c59176fa5f312826f8f692890b67)
-rw-r--r--ssl/ssltest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssltest.c b/ssl/ssltest.c
index 9fa226c626..8efbff738e 100644
--- a/ssl/ssltest.c
+++ b/ssl/ssltest.c
@@ -1589,7 +1589,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) {