summaryrefslogtreecommitdiffstats
path: root/apps/pkcs7.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-06-27 12:26:40 +0200
committerRichard Levitte <levitte@openssl.org>2002-06-27 12:26:40 +0200
commit5585f4eca4de03d45c7d0ab0c4f711a7aa88a46c (patch)
treef9ccd18fd50e03211b28c34233a3221bce956d0e /apps/pkcs7.c
parentgcc requires -m64 to link 64-bit shared libraries on Solaris. (diff)
downloadopenssl-5585f4eca4de03d45c7d0ab0c4f711a7aa88a46c.tar.xz
openssl-5585f4eca4de03d45c7d0ab0c4f711a7aa88a46c.zip
have 'openssl pkcs7' exit with code 1 on error instead of 0.
PR: 119
Diffstat (limited to 'apps/pkcs7.c')
-rw-r--r--apps/pkcs7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pkcs7.c b/apps/pkcs7.c
index 1cc91509a2..0cced40f0f 100644
--- a/apps/pkcs7.c
+++ b/apps/pkcs7.c
@@ -89,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();