summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristian Stoica <cristian.stoica@freescale.com>2015-07-17 17:29:41 +0800
committerZhenhua Luo <zhenhua.luo@freescale.com>2015-07-22 17:38:00 +0800
commit61d195bbab0b5852593598ba291ee9429a2ac9ba (patch)
treedeb9702f0a467e18bad84e9b8bb1327c9ac9fbf1
parente48e701b9a0836c7b533882d4fdde4e94373e25b (diff)
downloadmeta-fsl-ppc-61d195bbab0b5852593598ba291ee9429a2ac9ba.tar.gz
openssl: remove native dependency on cryptodev
The original intent of the code was good but the comment was missleading since the cryptodev dependency was always set, even for the native package. Dependency on acceleration engines (including cryptodev) should be disabled for the native package to reduce the risk of incorrect builds and other runtime issues. In particular, the chain of dependencies for such a high profile crypto package should be minimal to help with code audit. Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--recipes-connectivity/openssl/openssl_1.0.1i.bb7
1 files changed, 3 insertions, 4 deletions
diff --git a/recipes-connectivity/openssl/openssl_1.0.1i.bb b/recipes-connectivity/openssl/openssl_1.0.1i.bb
index ccc3126..54c052e 100644
--- a/recipes-connectivity/openssl/openssl_1.0.1i.bb
+++ b/recipes-connectivity/openssl/openssl_1.0.1i.bb
@@ -1,10 +1,9 @@
1require openssl.inc 1require openssl.inc
2 2
3# For target side versions of openssl enable support for OCF Linux driver 3# For target side versions of openssl enable support for cryptodev Linux driver
4# if they are available. 4# if they are available.
5DEPENDS += "cryptodev-linux" 5DEPENDS_class-target += "cryptodev-linux"
6 6CFLAG_class-target += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS"
7CFLAG += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS"
8 7
9LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8"
10 9