summaryrefslogtreecommitdiff
path: root/apps/genrsa.c
diff options
context:
space:
mode:
authorPaul Yang <yang.yang@baishancloud.com>2018-02-27 10:47:16 +0800
committerRichard Levitte <levitte@openssl.org>2018-02-28 18:44:56 +0100
commit6f007824adc40d629e6ad1317d4184ca8bb967fc (patch)
tree24eb9e1ece465a2f0e01edd85af3029d9daa2e8a /apps/genrsa.c
parentc7702e077da512ba47f25424f24c11bd0c394bc0 (diff)
downloadopenssl-new-6f007824adc40d629e6ad1317d4184ca8bb967fc.tar.gz
Fix the type of -out option
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3709)
Diffstat (limited to 'apps/genrsa.c')
-rw-r--r--apps/genrsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/genrsa.c b/apps/genrsa.c
index 464657c20a..2bc8fa0827 100644
--- a/apps/genrsa.c
+++ b/apps/genrsa.c
@@ -44,7 +44,7 @@ const OPTIONS genrsa_options[] = {
{"3", OPT_3, '-', "Use 3 for the E value"},
{"F4", OPT_F4, '-', "Use F4 (0x10001) for the E value"},
{"f4", OPT_F4, '-', "Use F4 (0x10001) for the E value"},
- {"out", OPT_OUT, 's', "Output the key to specified file"},
+ {"out", OPT_OUT, '>', "Output the key to specified file"},
OPT_R_OPTIONS,
{"passout", OPT_PASSOUT, 's', "Output file pass phrase source"},
{"", OPT_CIPHER, '-', "Encrypt the output with any supported cipher"},