summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2017-03-04 12:53:14 +0000
committerjsing <>2017-03-04 12:53:14 +0000
commit34cf6990f05f3e13991a32d58a8dc888504112d2 (patch)
treef4906abddb2095c7d8a0ae3bac6498e665812e8d
parentd837c6078b05e2698215c124f9c3ce22d6a97e3d (diff)
downloadopenbsd-34cf6990f05f3e13991a32d58a8dc888504112d2.tar.gz
openbsd-34cf6990f05f3e13991a32d58a8dc888504112d2.tar.bz2
openbsd-34cf6990f05f3e13991a32d58a8dc888504112d2.zip
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@
-rw-r--r--src/regress/lib/libssl/ssl/ssltest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libssl/ssl/ssltest.c b/src/regress/lib/libssl/ssl/ssltest.c
index 24f79e302c..59a2bea81a 100644
--- a/src/regress/lib/libssl/ssl/ssltest.c
+++ b/src/regress/lib/libssl/ssl/ssltest.c
@@ -1379,9 +1379,9 @@ doit(SSL *s_ssl, SSL *c_ssl, long count)
1379 } 1379 }
1380 1380
1381 if (!do_client && !do_server) { 1381 if (!do_client && !do_server) {
1382 fprintf(stdout, "ERROR IN STARTUP\n"); 1382 fprintf(stdout, "ERROR in STARTUP\n");
1383 ERR_print_errors(bio_err); 1383 ERR_print_errors(bio_err);
1384 break; 1384 goto err;
1385 } 1385 }
1386 1386
1387 if (do_client && !(done & C_DONE)) { 1387 if (do_client && !(done & C_DONE)) {