projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff09931
)
Return correct exit code if there is an error in dgst command.
author
Dr. Stephen Henson
<steve@openssl.org>
Wed, 22 Oct 2008 18:51:37 +0000
(18:51 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Wed, 22 Oct 2008 18:51:37 +0000
(18:51 +0000)
apps/dgst.c
patch
|
blob
|
history
diff --git
a/apps/dgst.c
b/apps/dgst.c
index 5a50cc3ef705a18206e75e1989c25c4c0c8a628e..9ebfc22e79692f2b06b3a33ef55e192467070785 100644
(file)
--- a/
apps/dgst.c
+++ b/
apps/dgst.c
@@
-84,7
+84,7
@@
int MAIN(int argc, char **argv)
{
ENGINE *e = NULL;
unsigned char *buf=NULL;
- int i,err=
0
;
+ int i,err=
1
;
const EVP_MD *md=NULL,*m;
BIO *in=NULL,*inp;
BIO *bmd=NULL;
@@
-415,6
+415,7
@@
ERR_load_crypto_strings();
else
{
name=OBJ_nid2sn(md->type);
+ err = 0;
for (i=0; i<argc; i++)
{
char *tmp,*tofree=NULL;