diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2022-08-26 20:40:48 +0200 |
---|---|---|
committer | Dr. David von Oheimb <dev@ddvo.net> | 2023-03-14 17:26:49 +0100 |
commit | 0e89b396197f75993c8d64c07b4af6aa2d97e2af (patch) | |
tree | a79eb907eefb1c1cd5a84891564511e8e5f6879b /apps/rsautl.c | |
parent | test/smime-certs/{mksmime-certs.sh,ca.cnf}: simplify and speed up cert genera... (diff) | |
download | openssl-0e89b396197f75993c8d64c07b4af6aa2d97e2af.tar.xz openssl-0e89b396197f75993c8d64c07b4af6aa2d97e2af.zip |
apps/x509 etc.: allow private key input when public key is expected
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/19076)
Diffstat (limited to 'apps/rsautl.c')
-rw-r--r-- | apps/rsautl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/rsautl.c b/apps/rsautl.c index 2e3aa00307..ad5df2e36a 100644 --- a/apps/rsautl.c +++ b/apps/rsautl.c @@ -47,9 +47,9 @@ const OPTIONS rsautl_options[] = { OPT_SECTION("Input"), {"in", OPT_IN, '<', "Input file"}, - {"inkey", OPT_INKEY, 's', "Input key"}, + {"inkey", OPT_INKEY, 's', "Input key, by default an RSA private key"}, {"keyform", OPT_KEYFORM, 'E', "Private key format (ENGINE, other values ignored)"}, - {"pubin", OPT_PUBIN, '-', "Input is an RSA public"}, + {"pubin", OPT_PUBIN, '-', "Input key is an RSA public pkey"}, {"certin", OPT_CERTIN, '-', "Input is a cert carrying an RSA public key"}, {"rev", OPT_REV, '-', "Reverse the order of the input buffer"}, {"passin", OPT_PASSIN, 's', "Input file pass phrase source"}, |