summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/apps/errstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/apps/errstr.c')
-rw-r--r--crypto/openssl/apps/errstr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/openssl/apps/errstr.c b/crypto/openssl/apps/errstr.c
index e392328..19489b0 100644
--- a/crypto/openssl/apps/errstr.c
+++ b/crypto/openssl/apps/errstr.c
@@ -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))
{
-#ifdef VMS
+#ifdef OPENSSL_SYS_VMS
{
BIO *tmpbio = BIO_new(BIO_f_linebuffer());
out = BIO_push(tmpbio, out);
@@ -121,5 +121,6 @@ int MAIN(int argc, char **argv)
ret++;
}
}
- EXIT(ret);
+ apps_shutdown();
+ OPENSSL_EXIT(ret);
}
OpenPOWER on IntegriCloud