mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-15 03:43:47 -09:00
Buildroot commit1f4b4ccde7("package/opensc: security bump to version 0.26.0") bumped opensc from 0.24 to 0.26, and the build started failing with: pkcs11-tool.c:7854:45: warning: implicit declaration of function 'EVP_bf_cbc'; did you mean 'EVP_sm4_cbc'? [-Wimplicit-function-declaration] on configurations that have BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH disabled (it is not explicitly selected by this package). Our initial fix was to simply select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH, but when investigating when EVP_bf_cbc() started being used in OpenSC, we discovered it has been in use for a while... but in code that kept being disabled from version to version as it was broken (upstream bug https://github.com/OpenSC/OpenSC/issues/1796), but it was apparently forgotten to be disabled again for 0.26 (the issue is still open). Therefore, we opted to continue disabling this known broken part of the code, and submit an upstream PR for that https://github.com/OpenSC/OpenSC/pull/3303, which ultimately will clarify what is the right fix. In the mean time, this allows to fix the build issue. Fixes: http://autobuild.buildroot.net/results/ca51b3e8e3ac83e2a69814caa84d9862385b956f/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Julien Olivain <ju.o@free.fr> (cherry picked from commit5d7ab604d2) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>