summaryrefslogtreecommitdiffstats
path: root/apps/x509.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2010-12-12 11:52:56 +0100
committerAndy Polyakov <appro@openssl.org>2010-12-12 11:52:56 +0100
commitde3bb266f43e5eb9142c6687c4b71846eef2a65b (patch)
treefd2041f19318b1b9bac26a8fb96c56a6e1b17c65 /apps/x509.c
parentbss_file.c: refine UTF8 logic. (diff)
downloadopenssl-de3bb266f43e5eb9142c6687c4b71846eef2a65b.tar.xz
openssl-de3bb266f43e5eb9142c6687c4b71846eef2a65b.zip
apps/x590.c: harmonize usage of STDout and out_err.
PR: 2323
Diffstat (limited to 'apps/x509.c')
-rw-r--r--apps/x509.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/x509.c b/apps/x509.c
index dc9cd77078..e402f6a4e0 100644
--- a/apps/x509.c
+++ b/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)
{