fa92fbe2abd9739ee5b06d48ede54478a95230c9
[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 --- a/apps/openssl.cnf
12 +++ b/apps/openssl.cnf
13 @@ -22,6 +22,16 @@ oid_section = new_oids
14 # (Alternatively, use a configuration file that has only
15 # X.509v3 extensions in its main [= default] section.)
16
17 +openssl_conf=openssl_conf
18 +
19 +[openssl_conf]
20 +engines=engines
21 +
22 +[engines]
23 +.include /var/etc/ssl/engines.cnf
24 +
25 +.include /etc/ssl/engines.cnf.d
26 +
27 [ new_oids ]
28
29 # We can add new OIDs in here for use by 'ca', 'req' and 'ts'.