summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBilly Brawner <billy@wbrawner.com>2019-08-27 17:07:17 -0700
committerTomas Mraz <tmraz@fedoraproject.org>2019-09-04 16:48:49 +0200
commitfb6a82c498b895c5d92a59d0b1737d37da98cefc (patch)
tree2aed4ccc895dfd00d202046dfdf524d6590f47bb /apps
parent907f87d6f5105e10a211e89b1d6050a3d36a35ba (diff)
Suppress 'No server certificate CA names sent' message
Fixes #9080 Signed-off-by: Billy Brawner <billy@wbrawner.com> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/9710) (cherry picked from commit 1e8e75d18be8856e753a57771754b9926c3f4264)
Diffstat (limited to 'apps')
-rw-r--r--apps/s_cb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/s_cb.c b/apps/s_cb.c
index 520323c8b0..5dc1d03f28 100644
--- a/apps/s_cb.c
+++ b/apps/s_cb.c
@@ -1525,7 +1525,8 @@ void print_ca_names(BIO *bio, SSL *s)
int i;
if (sk == NULL || sk_X509_NAME_num(sk) == 0) {
- BIO_printf(bio, "---\nNo %s certificate CA names sent\n", cs);
+ if (!SSL_is_server(s))
+ BIO_printf(bio, "---\nNo %s certificate CA names sent\n", cs);
return;
}