Commit fb6a82c4 authored by Billy Brawner's avatar Billy Brawner Committed by Tomas Mraz
Browse files

Suppress 'No server certificate CA names sent' message



Fixes #9080

Signed-off-by: default avatarBilly Brawner <billy@wbrawner.com>

Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
Reviewed-by: default avatarTomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/9710)

(cherry picked from commit 1e8e75d18be8856e753a57771754b9926c3f4264)
parent 907f87d6
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -1525,6 +1525,7 @@ 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) {
        if (!SSL_is_server(s))
            BIO_printf(bio, "---\nNo %s certificate CA names sent\n", cs);
            BIO_printf(bio, "---\nNo %s certificate CA names sent\n", cs);
        return;
        return;
    }
    }