From 18e25b023c193ffb088296e346bc0978b78e38ee Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 21 Jul 2024 09:49:13 +0200 Subject: [PATCH] package/librelp: select BR2_PACKAGE_LIBOPENSSL_ENGINES librelp unconditionally calls the (deprecated) ENGINE_* logic in libopenssl resulting in a build failure when !BR2_PACKAGE_LIBOPENSSL_ENGINES since commit 623d3bbe43e9193aa8e3395367d01af59071b859: tcp.c: In function 'relpTcpExitTLS_ossl': tcp.c:1992:17: error: implicit declaration of function 'ENGINE_cleanup'; did you mean 'EVP_PBE_cleanup'? [-Wimplicit-function-declaration] 1992 | ENGINE_cleanup(); | ^~~~~~~~~~~~~~ | EVP_PBE_cleanup Fixes: 623d3bbe43e9193aa8e3395367d01af59071b859 - http://autobuild.buildroot.org/results/68a1e94e077d8d57690a2543e557ba3f2974b03e Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/librelp/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/librelp/Config.in b/package/librelp/Config.in index c0ae5fbe89..f1744bb60c 100644 --- a/package/librelp/Config.in +++ b/package/librelp/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_LIBRELP bool "librelp" depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_LIBOPENSSL_ENGINES if BR2_PACKAGE_LIBOPENSSL help Reliable Event Logging Protocol library