summaryrefslogtreecommitdiffstats
path: root/apps/ca.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2020-03-04 14:41:53 -0500
committerDmitry Belyavskiy <beldmit@gmail.com>2020-03-07 12:58:02 +0300
commitd462b5ff21e9fcdef98447c8f8d8c694b1e79602 (patch)
tree8f7758c550167372258e36458adb1f913aca3417 /apps/ca.c
parent6bd4e3f231d74578b97821d981d42583fec5c2f3 (diff)
Add -section option to 'req' command
This removes "req" as the hardwired section for the req command. Doing this will let us merge some test configs. Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> (Merged from https://github.com/openssl/openssl/pull/11249)
Diffstat (limited to 'apps/ca.c')
-rw-r--r--apps/ca.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/ca.c b/apps/ca.c
index 84e1905d38..e3e2fd2e7e 100644
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -177,6 +177,7 @@ const OPTIONS ca_options[] = {
OPT_SECTION("Configuration"),
{"config", OPT_CONFIG, 's', "A config file"},
{"name", OPT_NAME, 's', "The particular CA definition to use"},
+ {"section", OPT_NAME, 's', "An alias for -name"},
{"policy", OPT_POLICY, 's', "The CA 'policy' to support"},
OPT_SECTION("Certificate"),