From: Dr. Stephen Henson Date: Tue, 21 Feb 2017 18:43:46 +0000 (+0000) Subject: Print signature type to out, not bio_err X-Git-Tag: OpenSSL_1_1_1-pre1~2264 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=395f7c4217be456ae10e414466bf277fc09b944c;p=oweals%2Fopenssl.git Print signature type to out, not bio_err Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/2747) --- diff --git a/apps/s_cb.c b/apps/s_cb.c index 89033d5ddd..080fc59c87 100644 --- a/apps/s_cb.c +++ b/apps/s_cb.c @@ -292,7 +292,7 @@ int ssl_print_sigalgs(BIO *out, SSL *s) if (SSL_get_peer_signature_nid(s, &nid)) BIO_printf(out, "Peer signing digest: %s\n", OBJ_nid2sn(nid)); if (SSL_get_peer_signature_type_nid(s, &nid)) - BIO_printf(bio_err, "Peer signature type: %s\n", get_sigtype(nid)); + BIO_printf(out, "Peer signature type: %s\n", get_sigtype(nid)); return 1; }