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.

(From OE-Core rev: 160ac2f136cb8df829c803848c7c47d707a908ff)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2022-01-27 11:44:45 +00:00
committed by Richard Purdie
parent 1adbf5ba27
commit a8c9104ac4

View 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 () {