]> code.ossystems Code Review - meta-freescale.git/commit
optee-test: Use openssl embedded in optee-test
authorTom Hochstein <tom.hochstein@nxp.com>
Fri, 18 Feb 2022 23:07:08 +0000 (17:07 -0600)
committerTom Hochstein <tom.hochstein@nxp.com>
Thu, 24 Feb 2022 19:32:53 +0000 (13:32 -0600)
commitd38cf8527d87673d2df0b91dea690aee354aebaa
treed1bff002012bb9afd10982fd158ee931c436a2c9
parenta9ebace6b8d5d4a849c64e4a133dd24da8f9c8a0
optee-test: Use openssl embedded in optee-test

Building against openssl from Yocto results in a build break:

```
| /opt/work/upstream/fsl-xwayland/tmp/work/cortexa53-crypto-fsl-linux/optee-test/3.15.0.imx-r0/git/host/xtest/regression_8100.c:133:17: error: 'ERR_get_error_line' is deprecated: Since OpeSL 3.0 [-Werror=deprecated-declarations]
|   133 |                 e = ERR_get_error_line(&f, &l);
|       |                 ^
| In file included from /opt/work/upstream/fsl-xwayland/tmp/work/cortexa53-crypto-fsl-linux/optee-test/3.15.0.imx-r0/git/host/xtest/regression_8100.c:18:
| /opt/work/upstream/fsl-xwayland/tmp/work/cortexa53-crypto-fsl-linux/optee-test/3.15.0.imx-r0/recipe-sysroot/usr/include/openssl/err.h:411:15: note: declared here
|   411 | unsigned long ERR_get_error_line(const char **file, int *line);
|       |               ^~~~~~~~~~~~~~~~~~
```

Configure optee-test to build with its own openssl.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
recipes-security/optee-imx/optee-test_3.15.0.imx.bb