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:
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
build_botan()
|
build_botan()
|
||||||
{
|
{
|
||||||
# same revision used in the build recipe of the testing environment
|
# 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
|
BOTAN_DIR=$DEPS_BUILD_DIR/botan
|
||||||
|
|
||||||
if test -d "$BOTAN_DIR"; then
|
if test -d "$BOTAN_DIR"; then
|
||||||
|
|||||||
@@ -663,12 +663,10 @@ static char *whitelist[] = {
|
|||||||
"TNC_IMC_NotifyConnectionChange",
|
"TNC_IMC_NotifyConnectionChange",
|
||||||
"TNC_IMV_NotifyConnectionChange",
|
"TNC_IMV_NotifyConnectionChange",
|
||||||
/* Botan */
|
/* Botan */
|
||||||
"botan_public_key_load",
|
|
||||||
"botan_privkey_create",
|
"botan_privkey_create",
|
||||||
"botan_privkey_load_ecdh",
|
|
||||||
"botan_privkey_load",
|
|
||||||
"botan_privkey_load_rsa_pkcs1",
|
"botan_privkey_load_rsa_pkcs1",
|
||||||
"botan_kdf",
|
"botan_privkey_load",
|
||||||
|
"botan_private_key_load",
|
||||||
/* C++ due to Botan */
|
/* C++ due to Botan */
|
||||||
"__cxa_get_globals",
|
"__cxa_get_globals",
|
||||||
"__cxa_thread_atexit",
|
"__cxa_thread_atexit",
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
PKG = botan
|
PKG = botan
|
||||||
SRC = https://github.com/randombit/$(PKG).git
|
SRC = https://github.com/randombit/$(PKG).git
|
||||||
REV = 3.7.1
|
REV = 3.10.0
|
||||||
|
|
||||||
NUM_CPUS := $(shell getconf _NPROCESSORS_ONLN)
|
NUM_CPUS := $(shell getconf _NPROCESSORS_ONLN)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user