The first argument to load_iv should really be a char ** instead of an
[openssl.git] / apps / sess_id.c
index eb40aa63538103a805ac0c3d68696f13f58bd9df..d91d84d2206b08b570908d694bc082a90f58dc3c 100644 (file)
@@ -208,7 +208,7 @@ bad:
                if (outfile == 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);
@@ -272,7 +272,8 @@ bad:
 end:
        if (out != NULL) BIO_free_all(out);
        if (x != NULL) SSL_SESSION_free(x);
-       EXIT(ret);
+       apps_shutdown();
+       OPENSSL_EXIT(ret);
        }
 
 static SSL_SESSION *load_sess_id(char *infile, int format)