Use the new control to add a log stream.
This commit is contained in:
parent
d813a428a7
commit
5971d37400
@ -367,6 +367,11 @@ bad:
|
|||||||
ERR_print_errors(bio_err);
|
ERR_print_errors(bio_err);
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
if (c_debug)
|
||||||
|
{
|
||||||
|
ENGINE_ctrl(e, ENGINE_CTRL_SET_LOGSTREAM,
|
||||||
|
0, bio_err, 0);
|
||||||
|
}
|
||||||
if(!ENGINE_set_default(e, ENGINE_METHOD_ALL))
|
if(!ENGINE_set_default(e, ENGINE_METHOD_ALL))
|
||||||
{
|
{
|
||||||
BIO_printf(bio_err,"can't use that engine\n");
|
BIO_printf(bio_err,"can't use that engine\n");
|
||||||
|
@ -627,6 +627,11 @@ bad:
|
|||||||
ERR_print_errors(bio_err);
|
ERR_print_errors(bio_err);
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
if (s_debug)
|
||||||
|
{
|
||||||
|
ENGINE_ctrl(e, ENGINE_CTRL_SET_LOGSTREAM,
|
||||||
|
0, bio_err, 0);
|
||||||
|
}
|
||||||
if(!ENGINE_set_default(e, ENGINE_METHOD_ALL))
|
if(!ENGINE_set_default(e, ENGINE_METHOD_ALL))
|
||||||
{
|
{
|
||||||
BIO_printf(bio_err,"can't use that engine\n");
|
BIO_printf(bio_err,"can't use that engine\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user