Skip to contentSkip to conversation

openssl: export OPENSSL_MODULES in the wrapper

PATCH New Ross Burton 1 participant 1 message Jan 27, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 openssl: export OPENSSL_MODULES in the wrapper

OpenSSL 3 added the concept of provider modules which are loaded from disk. The load path is hard-coded into the library and needs to be relocated when running natively, so add OPENSSL_MODULES to the wrapper.

---
 meta/recipes-connectivity/openssl/openssl_3.0.1.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-connectivity/openssl/openssl_3.0.1.bb +2 -1
index 7727ec43e87..e97c986b398 100644
@@ -160,7 +160,8 @@ do_install:append:class-native () {
 	    OPENSSL_CONF=${libdir}/ssl-3/openssl.cnf \
 	    SSL_CERT_DIR=${libdir}/ssl-3/certs \
 	    SSL_CERT_FILE=${libdir}/ssl-3/cert.pem \
-	    OPENSSL_ENGINES=${libdir}/engines-3
+	    OPENSSL_ENGINES=${libdir}/engines-3 \
+	    OPENSSL_MODULES=${libdir}/ossl-modules
 }
 
 do_install:append:class-nativesdk () {
Signature · 1 line
2.25.1