support -quiet with -msg or -trace
This commit is contained in:
parent
2588d4ca41
commit
1740c9fbfc
@ -1120,9 +1120,11 @@ bad:
|
|||||||
|
|
||||||
if (bio_c_out == NULL)
|
if (bio_c_out == NULL)
|
||||||
{
|
{
|
||||||
if (c_quiet && !c_debug && !c_msg)
|
if (c_quiet && !c_debug)
|
||||||
{
|
{
|
||||||
bio_c_out=BIO_new(BIO_s_null());
|
bio_c_out=BIO_new(BIO_s_null());
|
||||||
|
if (c_msg && !bio_c_msg)
|
||||||
|
bio_c_msg=BIO_new_fp(stdout,BIO_NOCLOSE);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -1612,9 +1612,11 @@ bad:
|
|||||||
|
|
||||||
if (bio_s_out == NULL)
|
if (bio_s_out == NULL)
|
||||||
{
|
{
|
||||||
if (s_quiet && !s_debug && !s_msg)
|
if (s_quiet && !s_debug)
|
||||||
{
|
{
|
||||||
bio_s_out=BIO_new(BIO_s_null());
|
bio_s_out=BIO_new(BIO_s_null());
|
||||||
|
if (s_msg && !bio_s_msg)
|
||||||
|
bio_s_msg=BIO_new_fp(stdout,BIO_NOCLOSE);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user