summaryrefslogtreecommitdiff
path: root/deps/openssl/openssl/apps/x509.c
diff options
context:
space:
mode:
Diffstat (limited to 'deps/openssl/openssl/apps/x509.c')
-rw-r--r--deps/openssl/openssl/apps/x509.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/openssl/openssl/apps/x509.c b/deps/openssl/openssl/apps/x509.c
index e6e5e0d4e5..3863ab968d 100644
--- a/deps/openssl/openssl/apps/x509.c
+++ b/deps/openssl/openssl/apps/x509.c
@@ -288,7 +288,7 @@ int MAIN(int argc, char **argv)
days=atoi(*(++argv));
if (days == 0)
{
- BIO_printf(STDout,"bad number of days\n");
+ BIO_printf(bio_err,"bad number of days\n");
goto bad;
}
}
@@ -912,7 +912,7 @@ bad:
}
else if (text == i)
{
- X509_print_ex(out,x,nmflag, certflag);
+ X509_print_ex(STDout,x,nmflag, certflag);
}
else if (startdate == i)
{