Add generationQualifier OID (proposed by Fiel Cabral).
[openssl.git] / apps / errstr.c
index 2c6204647692bf5150db3104958ec22c8987f290..fedb568d686988ce9da114c63495227f2b927bfe 100644 (file)
@@ -91,12 +91,18 @@ int MAIN(int argc, char **argv)
                out=BIO_new(BIO_s_file());
                if ((out != NULL) && BIO_set_fp(out,stdout,BIO_NOCLOSE))
                        {
+#ifdef OPENSSL_SYS_VMS
+                       {
+                       BIO *tmpbio = BIO_new(BIO_f_linebuffer());
+                       out = BIO_push(tmpbio, out);
+                       }
+#endif
                        lh_node_stats_bio((LHASH *)ERR_get_string_table(),out);
                        lh_stats_bio((LHASH *)ERR_get_string_table(),out);
                        lh_node_usage_stats_bio((LHASH *)
                                ERR_get_string_table(),out);
                        }
-               if (out != NULL) BIO_free(out);
+               if (out != NULL) BIO_free_all(out);
                argc--;
                argv++;
                }
@@ -115,5 +121,6 @@ int MAIN(int argc, char **argv)
                        ret++;
                        }
                }
+       apps_shutdown();
        EXIT(ret);
        }