From de3bb266f43e5eb9142c6687c4b71846eef2a65b Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sun, 12 Dec 2010 10:52:56 +0000 Subject: [PATCH] apps/x590.c: harmonize usage of STDout and out_err. PR: 2323 --- apps/x509.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/x509.c b/apps/x509.c index dc9cd7707..e402f6a4e 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) {