From dff8d2a4327ef6ed527bb26ad70579330412a1d0 Mon Sep 17 00:00:00 2001 From: Fabian Albert Date: Wed, 7 Aug 2024 14:07:44 +0200 Subject: [PATCH 1/3] Remove deprecated dlies module from BSI policy --- src/build-data/policy/bsi.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/src/build-data/policy/bsi.txt b/src/build-data/policy/bsi.txt index d136aec8d02..3c7c31b9251 100644 --- a/src/build-data/policy/bsi.txt +++ b/src/build-data/policy/bsi.txt @@ -36,7 +36,6 @@ emsa_pssr iso9796 # pubkey -dlies dh #dilithium // not (yet) recommended #dilithium_aes // not (yet) recommended From 3cf8180d3cfe6da9fe7737a2490e7c9b38f5a4c6 Mon Sep 17 00:00:00 2001 From: Fabian Albert Date: Wed, 7 Aug 2024 14:11:45 +0200 Subject: [PATCH 2/3] Disable deprecated features in policy CI tests --- src/scripts/ci_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/ci_build.py b/src/scripts/ci_build.py index 33c32372513..238ba1696a6 100755 --- a/src/scripts/ci_build.py +++ b/src/scripts/ci_build.py @@ -215,7 +215,7 @@ def sanitize_kv(some_string): if target in ['bsi', 'nist']: # tls is optional for bsi/nist but add it so verify tests work with these minimized configs - flags += ['--module-policy=%s' % (target), '--enable-modules=tls12'] + flags += ['--module-policy=%s' % (target), '--enable-modules=tls12', '--disable-deprecated-features'] if target in ['docs']: flags += ['--with-doxygen', '--with-sphinx', '--with-rst2man'] From b415a68e1be08cd03e1a768edb6f741f503fef87 Mon Sep 17 00:00:00 2001 From: Fabian Albert Date: Wed, 7 Aug 2024 15:08:24 +0200 Subject: [PATCH 3/3] Fix EC_Mul2Table_Data_BN deprecation issue --- src/lib/pubkey/ec_group/ec_point.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/pubkey/ec_group/ec_point.h b/src/lib/pubkey/ec_group/ec_point.h index 72b9b6ef0e7..2ff085b9a2b 100644 --- a/src/lib/pubkey/ec_group/ec_point.h +++ b/src/lib/pubkey/ec_group/ec_point.h @@ -223,6 +223,7 @@ class BOTAN_PUBLIC_API(2, 0) EC_Point final { #if defined(BOTAN_DISABLE_DEPRECATED_FEATURES) private: + friend class EC_Mul2Table_Data_BN; #endif /**