summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorAleksey Sanin <aleksey@aleksey.com>2023-03-20 11:26:50 -0400
committerPauli <pauli@openssl.org>2023-03-23 11:09:17 +1100
commit438068674b95b38892d2d1790b3fd14e3112d0cb (patch)
tree178da11bff8f0b578d5068195fe51fe8cca31e59 /apps
parent535ddd37524217143eb710bc880ee8c60b7a6cf8 (diff)
downloadopenssl-new-438068674b95b38892d2d1790b3fd14e3112d0cb.tar.gz
Added tests and updated help
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19898)
Diffstat (limited to 'apps')
-rw-r--r--apps/dsaparam.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/dsaparam.c b/apps/dsaparam.c
index adeeb095a0..ca98fe58c4 100644
--- a/apps/dsaparam.c
+++ b/apps/dsaparam.c
@@ -32,7 +32,7 @@ typedef enum OPTION_choice {
} OPTION_CHOICE;
const OPTIONS dsaparam_options[] = {
- {OPT_HELP_STR, 1, '-', "Usage: %s [options] [numbits]\n"},
+ {OPT_HELP_STR, 1, '-', "Usage: %s [options] [numbits] [numqbits]\n"},
OPT_SECTION("General"),
{"help", OPT_HELP, '-', "Display this summary"},
@@ -57,8 +57,8 @@ const OPTIONS dsaparam_options[] = {
OPT_PROV_OPTIONS,
OPT_PARAMETERS(),
- {"numbits", 0, 0, "Number of bits if generating parameters (optional)"},
- {"numqbits", 0, 0, "Number of bits in the subprime parameter q if generating parameters (optional)"},
+ {"numbits", 0, 0, "Number of bits if generating parameters or key (optional)"},
+ {"numqbits", 0, 0, "Number of bits in the subprime parameter q if generating parameters or key (optional)"},
{NULL}
};
@@ -249,4 +249,3 @@ int dsaparam_main(int argc, char **argv)
release_engine(e);
return ret;
}
-