From 6f007824adc40d629e6ad1317d4184ca8bb967fc Mon Sep 17 00:00:00 2001 From: Paul Yang Date: Tue, 27 Feb 2018 10:47:16 +0800 Subject: Fix the type of -out option Reviewed-by: Matt Caswell Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/3709) --- apps/genrsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/genrsa.c') 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"}, -- cgit v1.2.1