diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-04-13 12:38:46 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-04-13 12:38:46 +0000 |
commit | 92511cff4831eb29023b85f033e00055a038b3c2 (patch) | |
tree | dbb71dee05dc48d307aa307625e19d96bf9c07f1 /apps | |
parent | 7b82159865435697b36094da32279f33ee6f5f17 (diff) |
Change the option setting command line switch to "-pkeyopt" to avoid confusion
with algorithm parameters.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/genpkey.c | 2 | ||||
-rw-r--r-- | apps/pkeyutl.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/genpkey.c b/apps/genpkey.c index 9a58b64e92..8468fb20b3 100644 --- a/apps/genpkey.c +++ b/apps/genpkey.c @@ -150,7 +150,7 @@ int MAIN(int argc, char **argv) if (!init_gen_str(bio_err, &ctx, *(++args),e, do_param)) goto end; } - else if (strcmp(*args,"-param") == 0) + else if (strcmp(*args,"-pkeyopt") == 0) { if (!args[1]) goto bad; diff --git a/apps/pkeyutl.c b/apps/pkeyutl.c index 1ecde3cd85..522656df9e 100644 --- a/apps/pkeyutl.c +++ b/apps/pkeyutl.c @@ -180,7 +180,7 @@ int MAIN(int argc, char **argv) pkey_op = EVP_PKEY_OP_ENCRYPT; else if(!strcmp(*argv, "-decrypt")) pkey_op = EVP_PKEY_OP_DECRYPT; - else if (strcmp(*argv,"-param") == 0) + else if (strcmp(*argv,"-pkeyopt") == 0) { if (--argc < 1) badarg = 1; |