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:
a3ed492
)
Fix bug, "what mode" test was wrong.
author
Rich Salz
<rsalz@openssl.org>
Thu, 30 Apr 2015 15:13:49 +0000
(11:13 -0400)
committer
Rich Salz
<rsalz@openssl.org>
Thu, 30 Apr 2015 15:31:07 +0000
(11:31 -0400)
Reviewed-by: Matt Caswell <matt@openssl.org>
apps/srp.c
patch
|
blob
|
history
diff --git
a/apps/srp.c
b/apps/srp.c
index adc6a6f130113e709425c671fb804baf9de0a35b..bbbe1a9873d68aa714a43fac48a31a5ee9390d22 100644
(file)
--- a/
apps/srp.c
+++ b/
apps/srp.c
@@
-336,7
+336,8
@@
int srp_main(int argc, char **argv)
"Exactly one of the options -add, -delete, -modify -list must be specified.\n");
goto opthelp;
}
- if ((mode == OPT_DELETE || mode == OPT_MODIFY || OPT_ADD) && argc < 1) {
+ if ((mode == OPT_DELETE || mode == OPT_MODIFY || mode == OPT_ADD)
+ && argc < 1) {
BIO_printf(bio_err,
"Need at least one user for options -add, -delete, -modify. \n");
goto opthelp;