projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
support -quiet with -msg or -trace
[openssl.git]
/
apps
/
s_client.c
diff --git
a/apps/s_client.c
b/apps/s_client.c
index 3fcf7922b40fba4fea6a689ad5c916e9771a31c8..2a8861e8bd6fd73fbb7760abb1116593269b2ea0 100644
(file)
--- a/
apps/s_client.c
+++ b/
apps/s_client.c
@@
-1120,9
+1120,11
@@
bad:
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());
+ if (c_msg && !bio_c_msg)
+ bio_c_msg=BIO_new_fp(stdout,BIO_NOCLOSE);
}
else
{