diff options
author | Daniel <daniel@openssl.org> | 2022-02-06 15:01:14 +0100 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2022-02-09 10:37:53 +1100 |
commit | e44b212bdce225fd2d7e2349a7f787e7c9ade4fd (patch) | |
tree | 13170bf883142daa6d0516e00aaeb4258062f1f9 /apps | |
parent | 53234cb0f408bbfbb04ea0e12f1fc61feb2aa600 (diff) |
Send auxiliary messages to bio_err.
Fixes openssl#17613.
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17650)
(cherry picked from commit 2a6994cfa08368a710d66caaae4fc07ad35631bf)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/x509.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/x509.c b/apps/x509.c index 2880ae792a..c9c10c260e 100644 --- a/apps/x509.c +++ b/apps/x509.c @@ -706,9 +706,9 @@ int x509_main(int argc, char **argv) : "Certificate request self-signature did not match the contents\n"); goto end; } - BIO_printf(out, "Certificate request self-signature ok\n"); + BIO_printf(bio_err, "Certificate request self-signature ok\n"); - print_name(out, "subject=", X509_REQ_get_subject_name(req)); + print_name(bio_err, "subject=", X509_REQ_get_subject_name(req)); } else if (!x509toreq && ext_copy != EXT_COPY_UNSET) { BIO_printf(bio_err, "Warning: ignoring -copy_extensions since neither -x509toreq nor -req is given\n"); } |