Only use DSA-functions if available.
[openssl.git] / apps / errstr.c
index e392328f93d2656f84653e53c68de5f37495538f..fedb568d686988ce9da114c63495227f2b927bfe 100644 (file)
@@ -91,7 +91,7 @@ int MAIN(int argc, char **argv)
                out=BIO_new(BIO_s_file());
                if ((out != NULL) && BIO_set_fp(out,stdout,BIO_NOCLOSE))
                        {
                out=BIO_new(BIO_s_file());
                if ((out != NULL) && BIO_set_fp(out,stdout,BIO_NOCLOSE))
                        {
-#ifdef VMS
+#ifdef OPENSSL_SYS_VMS
                        {
                        BIO *tmpbio = BIO_new(BIO_f_linebuffer());
                        out = BIO_push(tmpbio, out);
                        {
                        BIO *tmpbio = BIO_new(BIO_f_linebuffer());
                        out = BIO_push(tmpbio, out);
@@ -121,5 +121,6 @@ int MAIN(int argc, char **argv)
                        ret++;
                        }
                }
                        ret++;
                        }
                }
+       apps_shutdown();
        EXIT(ret);
        }
        EXIT(ret);
        }