bind9/lib/isc/include
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
..
isc Use library constructor/destructor to initialize OpenSSL 2021-02-18 19:33:54 +01:00
pk11 update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
pkcs11 Remove files generated by autotools 2020-04-21 14:19:30 +02:00
.clang-format Add separate .clang-format files for headers 2020-02-14 09:31:05 +01:00