[PATCH v2 4/4] python3-cryptography: Disable legacy-openssl by default

Colin Pinnell McAllister
2026-02-13T23:02:07Z

Disable legacy-openssl support by default to match the openssl recipe.

Signed-off-by: Colin Pinnell McAllister <colinmca242@gmail.com>
---
meta/recipes-devtools/python/python3-cryptography.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-cryptography.bb b/meta/recipes-devtools/python/python3-cryptography.bb
index 366fda5e87..062b41807b 100644
--- a/meta/recipes-devtools/python/python3-cryptography.bb
+++ b/meta/recipes-devtools/python/python3-cryptography.bb
@@ -22,7 +22,7 @@ require ${BPN}-crates.inc

inherit pypi python_maturin cargo-update-recipe-crates pkgconfig

-PACKAGECONFIG ??= "legacy-openssl"
+PACKAGECONFIG ??= ""
PACKAGECONFIG[legacy-openssl] = ",,,openssl-ossl-module-legacy"

export CRYPTOGRAPHY_BUILD_OPENSSL_NO_LEGACY = "${@bb.utils.contains('PACKAGECONFIG', 'legacy-openssl', '0', '1', d)}"
--
2.53.0