The branch master has been updated
       via  1e8e75d18be8856e753a57771754b9926c3f4264 (commit)
      from  7f588d20cd9ed2bb0ee2577a4523453964f532b0 (commit)


- Log -----------------------------------------------------------------
commit 1e8e75d18be8856e753a57771754b9926c3f4264
Author: Billy Brawner <bi...@wbrawner.com>
Date:   Tue Aug 27 17:07:17 2019 -0700

    Suppress 'No server certificate CA names sent' message
    
    Fixes #9080
    
    Signed-off-by: Billy Brawner <bi...@wbrawner.com>
    
    Reviewed-by: Matt Caswell <m...@openssl.org>
    Reviewed-by: Tomas Mraz <tm...@fedoraproject.org>
    (Merged from https://github.com/openssl/openssl/pull/9710)

-----------------------------------------------------------------------

Summary of changes:
 apps/s_cb.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/apps/s_cb.c b/apps/s_cb.c
index 935ea9022d..47b8afe9ef 100644
--- a/apps/s_cb.c
+++ b/apps/s_cb.c
@@ -1508,7 +1508,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;
     }
 

Reply via email to