From: Andy Polyakov Date: Sun, 12 Dec 2010 10:52:56 +0000 (+0000) Subject: apps/x590.c: harmonize usage of STDout and out_err. X-Git-Tag: OpenSSL-fips-2_0-rc1~898 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=de3bb266f43e5eb9142c6687c4b71846eef2a65b;p=oweals%2Fopenssl.git apps/x590.c: harmonize usage of STDout and out_err. PR: 2323 --- 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) {