From ae54331db305f30c6c958ca64d9e6c63b7ae9e50 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Fri, 31 Dec 2021 10:24:25 +0100 Subject: [PATCH] package/python3: requires blake2 support in openssl Fix the following build failure raised since bump to version 3.10.1 in commit 25b1fc2898d68ddf2674b14c738045875fc5a2dc: /home/buildroot/autobuild/instance-3/output-1/build/python3-3.10.1/Modules/_hashopenssl.c:244:22: error: implicit declaration of function 'EVP_blake2s256'; did you mean 'LN_blake2s256'? [-Werror=implicit-function-declaration] 244 | digest = EVP_blake2s256(); | ^~~~~~~~~~~~~~ | LN_blake2s256 Fixes: - http://autobuild.buildroot.org/results/9112571b75aebb0ba5032ef1b16226d9848f5184 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/python3/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python3/Config.in b/package/python3/Config.in index efc4dbb3d4..7714518edc 100644 --- a/package/python3/Config.in +++ b/package/python3/Config.in @@ -90,6 +90,7 @@ config BR2_PACKAGE_PYTHON3_READLINE config BR2_PACKAGE_PYTHON3_SSL bool "ssl" select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLAKE2 if BR2_PACKAGE_LIBOPENSSL help _ssl module for Python3 (required for https in urllib etc).