]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Change the option setting command line switch to "-pkeyopt" to avoid confusion
authorDr. Stephen Henson <steve@openssl.org>
Thu, 13 Apr 2006 12:38:46 +0000 (12:38 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 13 Apr 2006 12:38:46 +0000 (12:38 +0000)
with algorithm parameters.

apps/genpkey.c
apps/pkeyutl.c

index 9a58b64e9299083755aff35332a37fcb750b2c02..8468fb20b33ade897f4166c69d2e45cafc086c6e 100644 (file)
@@ -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;
index 1ecde3cd858e1e3f64de390d365f1e69052d418d..522656df9e443ad1059ce258c61e843537beae27 100644 (file)
@@ -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;