mirror of
https://github.com/openssl/openssl.git
synced 2024-12-16 05:23:50 +08:00
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:
parent
57d0d048a8
commit
395f7c4217
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user