EXIT() may mean return(). That's confusing, so let's have it really mean
[openssl.git] / apps / pkcs7.c
index a0b21341f5e028d4dff946f23781072815677547..738dd853ceed006ba3e28fe4eaea8599a2b704a7 100644 (file)
@@ -67,7 +67,6 @@
 #include <openssl/x509.h>
 #include <openssl/pkcs7.h>
 #include <openssl/pem.h>
-#include <openssl/engine.h>
 
 #undef PROG
 #define PROG   pkcs7_main
@@ -90,7 +89,7 @@ int MAIN(int argc, char **argv)
        int informat,outformat;
        char *infile,*outfile,*prog;
        int print_certs=0,text=0,noout=0;
-       int ret=0;
+       int ret=1;
        char *engine=NULL;
 
        apps_startup();
@@ -302,5 +301,5 @@ end:
        if (in != NULL) BIO_free(in);
        if (out != NULL) BIO_free_all(out);
        apps_shutdown();
-       EXIT(ret);
+       OPENSSL_EXIT(ret);
        }