mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-28 17:46:40 -04:00
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. |
||
|---|---|---|
| .. | ||
| Makefile.in | ||
| netmgr-int.h | ||
| netmgr.c | ||
| tcp.c | ||
| tcpdns.c | ||
| tlsdns.c | ||
| udp.c | ||
| uv-compat.c | ||
| uv-compat.h | ||
| uverr2result.c | ||