diff options
author | Rich Salz <rsalz@openssl.org> | 2015-04-30 11:13:49 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-04-30 11:31:07 -0400 |
commit | 5a80d9fbfe445420ffe6b649f29e2e0c412aba5d (patch) | |
tree | c4a60c43eadc6e3ec723a270e9bf00e65b8905e3 /apps/srp.c | |
parent | a3ed492f58d1febb9e048fb6ab5b96983569bf3b (diff) | |
download | openssl-5a80d9fbfe445420ffe6b649f29e2e0c412aba5d.tar.gz |
Fix bug, "what mode" test was wrong.
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'apps/srp.c')
-rw-r--r-- | apps/srp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/srp.c b/apps/srp.c index adc6a6f130..bbbe1a9873 100644 --- 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; |