3db7a19212ed911a4165cd32423780eefbdefe02
[openwrt/openwrt.git] / package / libs / openssl / patches / 150-openssl.cnf-add-engines-conf.patch
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: Eneas U de Queiroz <cotequeiroz@gmail.com>
3 Date: Sat, 27 Mar 2021 17:43:25 -0300
4 Subject: openssl.cnf: add engine configuration
5
6 This adds configuration options for engines, loading all cnf files under
7 /etc/ssl/engines.cnf.d/.
8
9 Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
10
11 diff --git a/apps/openssl.cnf b/apps/openssl.cnf
12 --- a/apps/openssl.cnf
13 +++ b/apps/openssl.cnf
14 @@ -22,6 +22,13 @@ oid_section = new_oids
15 # (Alternatively, use a configuration file that has only
16 # X.509v3 extensions in its main [= default] section.)
17
18 +openssl_conf=openssl_conf
19 +
20 +[openssl_conf]
21 +engines=engines
22 +
23 +.include /etc/ssl/engines.cnf.d
24 +
25 [ new_oids ]
26
27 # We can add new OIDs in here for use by 'ca', 'req' and 'ts'.