diff options
| author | jsing <> | 2017-03-04 12:53:14 +0000 |
|---|---|---|
| committer | jsing <> | 2017-03-04 12:53:14 +0000 |
| commit | e983b79c4308f1f8bc5a0c47f199386cacbc67e2 (patch) | |
| tree | f4906abddb2095c7d8a0ae3bac6498e665812e8d /src/regress/lib/libssl/ssl/ssltest.c | |
| parent | bf016ec43dfe55728bd88e66814387d7814ce693 (diff) | |
| download | openbsd-e983b79c4308f1f8bc5a0c47f199386cacbc67e2.tar.gz openbsd-e983b79c4308f1f8bc5a0c47f199386cacbc67e2.tar.bz2 openbsd-e983b79c4308f1f8bc5a0c47f199386cacbc67e2.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@
Diffstat (limited to 'src/regress/lib/libssl/ssl/ssltest.c')
| -rw-r--r-- | src/regress/lib/libssl/ssl/ssltest.c | 4 |
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)) { |
