summaryrefslogtreecommitdiffstats
path: root/ssl
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:15:22 +0000
commitd7efe7ea18ffec1bcf0d93f563c175ea5094b654 (patch)
tree5e88d39a8678241e5a7e4c730b4ccc9aa78fd2d6 /ssl
parent49fa6b6c2d4682e45e847f5e539bfde3966e40a3 (diff)
Fix error handling in ssltest
Reviewed-by: Richard Levitte <levitte@openssl.org> (cherry picked from commit ae632974f905c59176fa5f312826f8f692890b67)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/ssltest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssltest.c b/ssl/ssltest.c
index 987e3cc4b6..2f5a134399 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) {