summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2010-12-12 10:52:56 +0000
committerAndy Polyakov <appro@openssl.org>2010-12-12 10:52:56 +0000
commitde3bb266f43e5eb9142c6687c4b71846eef2a65b (patch)
treefd2041f19318b1b9bac26a8fb96c56a6e1b17c65 /apps
parent05e4fbf80111999731eb7cec982879378e0e2f7d (diff)
apps/x590.c: harmonize usage of STDout and out_err.
PR: 2323
Diffstat (limited to 'apps')
-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)
{