File openssl-3-use-include-directive.patch of Package openssl-3

---
 apps/openssl.cnf     |   13 +++++++++++++
 apps/openssl-vms.cnf |   13 +++++++++++++
 2 file changed, 26 insertions(+)

Index: openssl-3.2.1/apps/openssl.cnf
===================================================================
--- openssl-3.2.1.orig/apps/openssl.cnf
+++ openssl-3.2.1/apps/openssl.cnf
@@ -19,6 +19,7 @@ openssl_conf = openssl_init
 # Comment out the next line to ignore configuration errors
 config_diagnostics = 1
 
+[ oid_section ]
 # Extra OBJECT IDENTIFIER info:
 # oid_file       = $ENV::HOME/.oid
 oid_section = new_oids
@@ -47,6 +48,18 @@ providers = provider_sect
 # Load default TLS policy configuration
 ssl_conf = ssl_module
 
+engines = engine_section
+
+[ engine_section ]
+
+# This include will look through the directory that will contain the
+# engine declarations for any engines provided by other packages.
+.include /etc/ssl/engines3.d
+
+# This include will look through the directory that will contain the
+# definitions of the engines declared in the engine section.
+.include /etc/ssl/engdef3.d
+
 # Uncomment the sections that start with ## below to enable the legacy provider.
 # Loading the legacy provider enables support for the following algorithms:
 # Hashing Algorithms / Message Digests: MD2, MD4, MDC2, WHIRLPOOL, RIPEMD160
Index: openssl-3.2.1/apps/openssl-vms.cnf
===================================================================
--- openssl-3.2.1.orig/apps/openssl-vms.cnf
+++ openssl-3.2.1/apps/openssl-vms.cnf
@@ -19,6 +19,7 @@ openssl_conf = openssl_init
 # Comment out the next line to ignore configuration errors
 config_diagnostics = 1
 
+[ oid_section ]
 # Extra OBJECT IDENTIFIER info:
 # oid_file       = $ENV::HOME/.oid
 oid_section = new_oids
@@ -53,6 +54,18 @@ tsa_policy3 = 1.2.3.4.5.7
 [openssl_init]
 providers = provider_sect
 
+engines = engine_section
+
+[ engine_section ]
+
+# This include will look through the directory that will contain the
+# engine declarations for any engines provided by other packages.
+.include /etc/ssl/engines3.d
+
+# This include will look through the directory that will contain the
+# definitions of the engines declared in the engine section.
+.include /etc/ssl/engdef3.d
+
 # List of providers to load
 [provider_sect]
 default = default_sect
openSUSE Build Service is sponsored by