x86_64-xlate.pl: sha1 and md5 warnings made it to nasm 2.09, extend gnu
[openssl.git] / apps / x509.c
index dc9cd7707890a02dfa57a6be6f7b1f719e26e080..e402f6a4e00b2f5e3fc2f6ec6ddc36deb25e22d7 100644 (file)
@@ -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)
                                {