summaryrefslogtreecommitdiffstats
path: root/apps/x509.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2012-06-03 22:03:37 +0000
committerBen Laurie <ben@openssl.org>2012-06-03 22:03:37 +0000
commit68d2cf51bcfc1c2c1d0deec9be21c3d743737656 (patch)
tree7b8ed6018e595520ff18873c4fc267228b552f85 /apps/x509.c
parent19eedffcafe5e703f28e015bad417bc50266c19b (diff)
Reduce version skew: trivia (I hope).
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 e6e5e0d4e5..3863ab968d 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)
{