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:
29e722f
)
PR: 2170
author
Dr. Stephen Henson
<steve@openssl.org>
Fri, 12 Feb 2010 17:07:16 +0000
(17:07 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Fri, 12 Feb 2010 17:07:16 +0000
(17:07 +0000)
Submitted by: Magnus Lilja <lilja.magnus@gmail.com>
Make -c option in dgst work again.
apps/dgst.c
patch
|
blob
|
history
diff --git
a/apps/dgst.c
b/apps/dgst.c
index 64fe56e5180893c49c76447deb024d6593d223e6..9bf38ce73b7ee9110fee01ea264febb7fbf2104e 100644
(file)
--- a/
apps/dgst.c
+++ b/
apps/dgst.c
@@
-155,7
+155,7
@@
int MAIN(int argc, char **argv)
if ((*argv)[0] != '-') break;
if (strcmp(*argv,"-c") == 0)
separator=1;
- if (strcmp(*argv,"-r") == 0)
+
else
if (strcmp(*argv,"-r") == 0)
separator=2;
else if (strcmp(*argv,"-rand") == 0)
{