Use the new control to add a log stream.

This commit is contained in:
Richard Levitte 2000-06-29 16:17:28 +00:00
parent d813a428a7
commit 5971d37400
2 changed files with 10 additions and 0 deletions

View file

@ -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");

View file

@ -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");