summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2021-05-26 09:08:14 +0200
committerDr. David von Oheimb <dev@ddvo.net>2021-05-27 11:06:01 +0200
commit54e8f7259bec08a6655a0693a315a75d9ce65e95 (patch)
tree4e0e670f6ce6218f0f8cef19c86bc0979cb7f0d4 /apps
parent3257179b7a9a9430c5b54fe0321fdc6862f91345 (diff)
DOC: Improve description of 'req' app: -new, -newkey, and -keyout options
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13715)
Diffstat (limited to 'apps')
-rw-r--r--apps/req.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/req.c b/apps/req.c
index 67cefa7e87..9edb1deb96 100644
--- a/apps/req.c
+++ b/apps/req.c
@@ -145,7 +145,8 @@ const OPTIONS req_options[] = {
{"keyout", OPT_KEYOUT, '>', "File to save newly created private key"},
{"passin", OPT_PASSIN, 's', "Private key and certificate password source"},
{"passout", OPT_PASSOUT, 's', "Output file pass phrase source"},
- {"newkey", OPT_NEWKEY, 's', "Specify as type:bits"},
+ {"newkey", OPT_NEWKEY, 's',
+ "Generate new key with [<alg>:]<nbits> or <alg>[:<file>] or param:<file>"},
{"pkeyopt", OPT_PKEYOPT, 's', "Public key options as opt:value"},
{"sigopt", OPT_SIGOPT, 's', "Signature parameter in n:v form"},
{"vfyopt", OPT_VFYOPT, 's', "Verification parameter in n:v form"},