X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=apps%2Fx509.c;h=e402f6a4e00b2f5e3fc2f6ec6ddc36deb25e22d7;hb=6fa4c7c43bd1cb1f68ad7db34cfc983db51508bd;hp=dc9cd7707890a02dfa57a6be6f7b1f719e26e080;hpb=c8bbd98a2b0c2a5164c42f951cd2866512839b5a;p=openssl.git 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) {