From: Richard Levitte Date: Thu, 29 Jun 2000 16:17:28 +0000 (+0000) Subject: Use the new control to add a log stream. X-Git-Tag: OpenSSL-engine-0_9_6-beta1~39 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5971d37400a9b99bd49bf9c64dadd4f938edbbb1;p=oweals%2Fopenssl.git Use the new control to add a log stream. --- diff --git a/apps/s_client.c b/apps/s_client.c index 77df3d596e..45d627a60a 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -367,6 +367,11 @@ bad: ERR_print_errors(bio_err); goto end; } + if (c_debug) + { + ENGINE_ctrl(e, ENGINE_CTRL_SET_LOGSTREAM, + 0, bio_err, 0); + } if(!ENGINE_set_default(e, ENGINE_METHOD_ALL)) { BIO_printf(bio_err,"can't use that engine\n"); diff --git a/apps/s_server.c b/apps/s_server.c index 17c16665ed..61a77dff11 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -627,6 +627,11 @@ bad: ERR_print_errors(bio_err); goto end; } + if (s_debug) + { + ENGINE_ctrl(e, ENGINE_CTRL_SET_LOGSTREAM, + 0, bio_err, 0); + } if(!ENGINE_set_default(e, ENGINE_METHOD_ALL)) { BIO_printf(bio_err,"can't use that engine\n");