bind9/lib/isc/tests
Ondřej Surý 2f0f531ee8 Use library constructor/destructor to initialize OpenSSL
Instead of calling isc_tls_initialize()/isc_tls_destroy() explicitly use
gcc/clang attributes on POSIX and DLLMain on Windows to initialize and
shutdown OpenSSL library.

This resolves the issue when isc_nm_create() / isc_nm_destroy() was
called multiple times and it would call OpenSSL library destructors from
isc_nm_destroy().

At the same time, since we now have introduced the ctor/dtor for libisc,
this commit moves the isc_mem API initialization (the list of the
contexts) and changes the isc_mem_checkdestroyed() to schedule the
checking of memory context on library unload instead of executing the
code immediately.
2021-02-26 17:18:06 +01:00
..
testdata/file [master] new mkeys and nzf naming format 2014-11-04 19:43:27 -08:00
aes_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
buffer_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
counter_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
crc64_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
errno_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
file_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
hash_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
heap_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
hmac_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
ht_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
isctest.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
isctest.h update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
Kyuafile Refactor TLSDNS module to work with libuv/ssl directly 2021-02-26 16:14:50 +01:00
lex_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
Makefile.in Refactor TLSDNS module to work with libuv/ssl directly 2021-02-26 16:14:50 +01:00
md_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
mem_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
netaddr_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
parse_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
pool_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
quota_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
radix_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
random_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
regex_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
result_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
safe_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
siphash_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
sockaddr_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
socket_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
symtab_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
task_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
taskpool_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
tcp_quota_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
tcp_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
tcpdns_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
time_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
timer_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
tlsdns_test.c Use library constructor/destructor to initialize OpenSSL 2021-02-26 17:18:06 +01:00
udp_test.c Use BIND 9.17 preprocessor macro to skip unit test 2021-02-17 12:09:25 +01:00
uv_wrap.h Refactor netmgr and add more unit tests 2020-12-09 10:46:16 +01:00