bind9/lib/isc/include/isc
Ondřej Surý 494d0da522 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-18 19:33:54 +01:00
..
aes.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
app.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
assertions.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
astack.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
atomic.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
attributes.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
backtrace.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
base32.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
base64.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
bind9.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
buffer.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
cmocka.h Add the ability to select tests to run 2020-10-01 08:21:42 +00:00
commandline.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
counter.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
crc64.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
deprecated.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
endian.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
errno.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
error.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
event.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
eventclass.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
file.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
formatcheck.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
fsaccess.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
fuzz.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
glob.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
hash.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
heap.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
hex.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
hmac.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
hp.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
ht.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
httpd.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
interfaceiter.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
iterated_hash.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
lang.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
lex.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
lib.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
likely.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
list.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
log.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
magic.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
md.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
mem.h Disable memory debugging features in non-developer build 2021-02-18 19:33:54 +01:00
meminfo.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
mutexatomic.h Refactor netmgr and add more unit tests 2020-12-01 16:47:07 +01:00
mutexblock.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
netaddr.h add dns_dns64_findprefix 2020-11-25 08:25:29 +11:00
netmgr.h Initial support for DNS-over-HTTP(S) 2021-02-03 12:06:17 +01:00
netscope.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
nonce.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
os.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
parseint.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
platform.h.in update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
pool.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
portset.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
print.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
queue.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
quota.h Refactor netmgr and add more unit tests 2020-12-01 16:47:07 +01:00
radix.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
random.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
ratelimiter.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
refcount.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
regex.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
region.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
resource.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
result.h netmgr: server-side TLS support 2020-11-10 14:16:27 +01:00
resultclass.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
rwlock.h Cleanup redundant isc_rwlock_init() result checks 2021-02-03 12:22:33 +11:00
safe.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
serial.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
siphash.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
sockaddr.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
socket.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
stats.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
stdio.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
strerr.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
string.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
symtab.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
task.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
taskpool.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
timer.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
tls.h Use library constructor/destructor to initialize OpenSSL 2021-02-18 19:33:54 +01:00
tm.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
types.h add dns_dns64_findprefix 2020-11-25 08:25:29 +11:00
url.h nghttp2-based HTTP layer in netmgr 2021-02-03 12:06:17 +01:00
utf8.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
util.h Use library constructor/destructor to initialize OpenSSL 2021-02-18 19:33:54 +01:00