summaryrefslogtreecommitdiff
path: root/regress/lib/libssl/ssl
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2017-03-04 12:53:15 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2017-03-04 12:53:15 +0000
commit35fd16193ac46a39bdfb957cc3a08155a881d5f1 (patch)
tree2b5c4bf80d7fd5d5f23518fcf1f1287490e2383c /regress/lib/libssl/ssl
parent0d7afc0869eb54d3e607ec3fcad14e9bdbf470aa (diff)
Treat "ERROR in STARTUP" as an actual error, rather than failing without
exiting non-zero (which has been masking a DTLS related issue). Also make the message consistent with other errors. Spotted by inogochi@
Diffstat (limited to 'regress/lib/libssl/ssl')
-rw-r--r--regress/lib/libssl/ssl/ssltest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/lib/libssl/ssl/ssltest.c b/regress/lib/libssl/ssl/ssltest.c
index 24f79e302c3..59a2bea81a1 100644
--- a/regress/lib/libssl/ssl/ssltest.c
+++ b/regress/lib/libssl/ssl/ssltest.c
@@ -1379,9 +1379,9 @@ doit(SSL *s_ssl, SSL *c_ssl, long count)
}
if (!do_client && !do_server) {
- fprintf(stdout, "ERROR IN STARTUP\n");
+ fprintf(stdout, "ERROR in STARTUP\n");
ERR_print_errors(bio_err);
- break;
+ goto err;
}
if (do_client && !(done & C_DONE)) {