diff options
author | Ovidiu Panait <ovidiu.panait@windriver.com> | 2017-12-20 13:15:37 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-07 10:59:16 +0100 |
commit | b3f148333515efdb746b78c57d62cfbf3321b21e (patch) | |
tree | 029a2e6c0c687e4e361e16e4b89a926d80b74484 /meta/recipes-connectivity/openssl/openssl | |
parent | d3e69fa2fef83015658aa5fa1442bab5a8c3edaa (diff) | |
download | openembedded-core-contrib-b3f148333515efdb746b78c57d62cfbf3321b21e.tar.gz |
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>
Diffstat (limited to 'meta/recipes-connectivity/openssl/openssl')
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl/environment.d-openssl.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl/environment.d-openssl.sh b/meta/recipes-connectivity/openssl/openssl/environment.d-openssl.sh new file mode 100644 index 0000000000..b9cc24a7ac --- /dev/null +++ b/meta/recipes-connectivity/openssl/openssl/environment.d-openssl.sh @@ -0,0 +1 @@ +export OPENSSL_CONF="$OECORE_NATIVE_SYSROOT/usr/lib/ssl/openssl.cnf" |