Use Botan 3.10.0 for tests

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
This commit is contained in:
Tobias Brunner
2025-12-12 15:58:31 +01:00
parent 1ff9533348
commit d20a0116b2
3 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -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
+2 -4
View 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",
+1 -1
View 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)