Suppress 'No server certificate CA names sent' message

Fixes #9080

Signed-off-by: Billy Brawner <billy@wbrawner.com>
This commit is contained in:
Billy Brawner 2019-08-27 17:07:17 -07:00
parent 18d307e98e
commit c1d669b5d7

View file

@ -1508,7 +1508,8 @@ void print_ca_names(BIO *bio, SSL *s)
int i; int i;
if (sk == NULL || sk_X509_NAME_num(sk) == 0) { 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; return;
} }