Fix error handling in ssltest

Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit ae632974f9)
This commit is contained in:
Matt Caswell 2015-02-05 10:19:55 +00:00
parent 49fa6b6c2d
commit d7efe7ea18

View file

@ -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) {