diff options
author | Paul Yang <yang.yang@baishancloud.com> | 2018-02-27 10:47:16 +0800 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-02-28 18:44:56 +0100 |
commit | 6f007824adc40d629e6ad1317d4184ca8bb967fc (patch) | |
tree | 24eb9e1ece465a2f0e01edd85af3029d9daa2e8a /apps | |
parent | c7702e077da512ba47f25424f24c11bd0c394bc0 (diff) |
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')
-rw-r--r-- | apps/genrsa.c | 2 | ||||
-rw-r--r-- | apps/sess_id.c | 2 |
2 files changed, 2 insertions, 2 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"}, diff --git a/apps/sess_id.c b/apps/sess_id.c index 70966de353..8fd584f3b1 100644 --- a/apps/sess_id.c +++ b/apps/sess_id.c @@ -30,7 +30,7 @@ const OPTIONS sess_id_options[] = { {"outform", OPT_OUTFORM, 'f', "Output format - default PEM (PEM, DER or NSS)"}, {"in", OPT_IN, 's', "Input file - default stdin"}, - {"out", OPT_OUT, 's', "Output file - default stdout"}, + {"out", OPT_OUT, '>', "Output file - default stdout"}, {"text", OPT_TEXT, '-', "Print ssl session id details"}, {"cert", OPT_CERT, '-', "Output certificate "}, {"noout", OPT_NOOUT, '-', "Don't output the encoded session info"}, |