Print signature type to out, not bio_err

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2747)
This commit is contained in:
Dr. Stephen Henson 2017-02-21 18:43:46 +00:00
parent 57d0d048a8
commit 395f7c4217

View 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;
}