]> code.ossystems Code Review - openembedded-core.git/commitdiff
openssl: export OPENSSL_MODULES in the wrapper
authorRoss Burton <ross@burtonini.com>
Thu, 27 Jan 2022 11:44:45 +0000 (11:44 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Feb 2022 07:29:44 +0000 (07:29 +0000)
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.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/openssl/openssl_3.0.1.bb

index 7727ec43e87d97d2f1bef8dfcf6e60bb6ff7f18b..e97c986b398833984952b0e143405403bbad68f0 100644 (file)
@@ -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 () {