package/rauc: needs libopenssl, not libressl
Fixes http://autobuild.buildroot.net/results/6efc1275d3aac9f0a4c000f3d0911b5a880e495d/ Rauc uses X509_PURPOSE_get_by_id() since rauc-1.3 with commit 375dbb16dd94 ("src/signature: add support for codesigning certificate purpose"): ../src/signature.c: In function 'signature_init': ../src/signature.c:97:13: warning: implicit declaration of function 'X509_PURPOSE_get_by_id'; did you mean 'X509_PURPOSE_get_id'? [-Wimplicit-function-declaration] 97 | if (X509_PURPOSE_get_by_id(id) >= 0) { Which is not provided by LibreSSL: nm -D target/usr/lib/libcrypto.so | grep X509_PURPOSE_ 00000000001377b0 T X509_PURPOSE_get0 0000000000137850 T X509_PURPOSE_get0_name 0000000000137860 T X509_PURPOSE_get0_sname 00000000001377d0 T X509_PURPOSE_get_by_sname 00000000001377a0 T X509_PURPOSE_get_count 0000000000137840 T X509_PURPOSE_get_id So force the use of libopenssl. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit 9679ddbcd066d562ffc8b8d46a571fd99fe7f275) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
4085ca3069
commit
5b357927f0
@ -5,8 +5,9 @@ config BR2_PACKAGE_RAUC
|
||||
depends on BR2_USE_WCHAR # glib2
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL # uses X509_PURPOSE_get_by_id
|
||||
# uses ENGINE_* API
|
||||
select BR2_PACKAGE_LIBOPENSSL_ENGINES if BR2_PACKAGE_LIBOPENSSL
|
||||
select BR2_PACKAGE_LIBOPENSSL_ENGINES
|
||||
select BR2_PACKAGE_SQUASHFS # run-time dependency
|
||||
select BR2_PACKAGE_UBOOT_TOOLS if BR2_TARGET_UBOOT # run-time dependency
|
||||
select BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV if BR2_TARGET_UBOOT
|
||||
|
||||
Loading…
Reference in New Issue
Block a user