--- embedaddon/strongswan/src/libstrongswan/utils/leak_detective.c 2020/06/03 09:46:44 1.1.1.1 +++ embedaddon/strongswan/src/libstrongswan/utils/leak_detective.c 2021/03/17 00:20:08 1.1.1.2 @@ -583,6 +583,7 @@ static char *whitelist[] = { "RSA_new_method", /* OpenSSL 1.1.0 does not cleanup anymore until the library is unloaded */ "OPENSSL_init_crypto", + "OPENSSL_init_ssl", "CRYPTO_THREAD_lock_new", "ERR_add_error_data", "ERR_set_mark", @@ -595,6 +596,8 @@ static char *whitelist[] = { "RAND_DRBG_get0_master", "RAND_DRBG_get0_private", "RAND_DRBG_get0_public", + /* We get this via libcurl and OpenSSL 1.1.1 */ + "CRYPTO_get_ex_new_index", /* OpenSSL libssl */ "SSL_COMP_get_compression_methods", /* NSPR */ @@ -622,6 +625,7 @@ static char *whitelist[] = { "system__tasking__initialize", "system__tasking__initialization__abort_defer", "system__tasking__stages__create_task", + "system__task_primitives__operations__register_foreign_thread__2", /* in case external threads call into our code */ "thread_current_id", /* FHH IMCs and IMVs */