]> code.ossystems Code Review - openembedded-core.git/commit
openssl-nativesdk: Fix "can't open config file" warning
authorOvidiu Panait <ovidiu.panait@windriver.com>
Wed, 20 Dec 2017 13:15:37 +0000 (13:15 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 7 Jul 2018 09:59:16 +0000 (10:59 +0100)
commitb3f148333515efdb746b78c57d62cfbf3321b21e
tree029a2e6c0c687e4e361e16e4b89a926d80b74484
parentd3e69fa2fef83015658aa5fa1442bab5a8c3edaa
openssl-nativesdk: Fix "can't open config file" warning

When SDK is not installed in the default location, openssl will not be
able to find the the openssl.cnf config file:

"WARNING: can't open config file: XXXX/usr/lib/ssl/openssl.cnf"

To fix this, we need to provide the environment variable $OPENSSL_CONF
pointing to the correct config file location.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/openssl/openssl/environment.d-openssl.sh [new file with mode: 0644]
meta/recipes-connectivity/openssl/openssl10.inc
meta/recipes-connectivity/openssl/openssl_1.0.2o.bb
meta/recipes-connectivity/openssl/openssl_1.1.0h.bb