Print signature type to out, not bio_err
authorDr. Stephen Henson <steve@openssl.org>
Tue, 21 Feb 2017 18:43:46 +0000 (18:43 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 26 Feb 2017 18:26:08 +0000 (18:26 +0000)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2747)

apps/s_cb.c

index 89033d5..080fc59 100644 (file)
@@ -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;
 }