Commit 5971d374 authored by Richard Levitte's avatar Richard Levitte
Browse files

Use the new control to add a log stream.

parent d813a428
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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");
+5 −0
Original line number Diff line number Diff line
@@ -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");