Fix error handling in ssltest

Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
Matt Caswell 2015-02-05 10:19:55 +00:00
parent fe6d2a339b
commit ae632974f9

View File

@ -2242,7 +2242,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) {