提交 395f7c42 编写于 作者: D Dr. Stephen Henson

Print signature type to out, not bio_err

Reviewed-by: NRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2747)
上级 57d0d048
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册