]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
Use Botan 3.10.0 for tests
authorTobias Brunner <tobias@strongswan.org>
Thu, 11 Dec 2025 16:25:12 +0000 (17:25 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 12 Dec 2025 14:58:31 +0000 (15:58 +0100)
Clean up leak-detective whitelist for newer Botan versions but add
`botan_private_key_load` as `botan_privkey_load*` won't show up anymore
without bfd-backtraces due to inlining if we don't call it directly.

Ref: https://github.com/randombit/botan/discussions/4868

scripts/test.sh
src/libstrongswan/utils/leak_detective.c
testing/scripts/recipes/011_botan.mk

index 23ff134362fa7c4dc7295003729a7116f840d413..f5cbd1ce601b4c6ac9d8f24b50ac77cb85b6a725 100755 (executable)
@@ -4,7 +4,7 @@
 build_botan()
 {
        # same revision used in the build recipe of the testing environment
-       BOTAN_REV=3.7.1
+       BOTAN_REV=3.10.0
        BOTAN_DIR=$DEPS_BUILD_DIR/botan
 
        if test -d "$BOTAN_DIR"; then
index 1ae19fd96d2aab2f36af708725bf7e0fb7de0f82..201b0f619b30b3d9359360265d39e531c76b42ec 100644 (file)
@@ -663,12 +663,10 @@ static char *whitelist[] = {
        "TNC_IMC_NotifyConnectionChange",
        "TNC_IMV_NotifyConnectionChange",
        /* Botan */
-       "botan_public_key_load",
        "botan_privkey_create",
-       "botan_privkey_load_ecdh",
-       "botan_privkey_load",
        "botan_privkey_load_rsa_pkcs1",
-       "botan_kdf",
+       "botan_privkey_load",
+       "botan_private_key_load",
        /* C++ due to Botan */
        "__cxa_get_globals",
        "__cxa_thread_atexit",
index 96e5dd7c3ff75a5d0c47412d719159b04234d68c..f3c1f984ffa162e83eea2311b6e9be7af368a676 100644 (file)
@@ -2,7 +2,7 @@
 
 PKG = botan
 SRC = https://github.com/randombit/$(PKG).git
-REV = 3.7.1
+REV = 3.10.0
 
 NUM_CPUS := $(shell getconf _NPROCESSORS_ONLN)