bind9/lib/isc/include
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
..
isc Use library constructor/destructor to initialize OpenSSL 2021-02-26 17:18:06 +01:00
pk11 update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
pkcs11 Update to PKCS#11 v3.0 EdDSA macros. 2020-05-01 06:54:26 +02:00
.clang-format Merge branch '46-enforce-clang-format-rules' into 'master' 2020-02-14 08:45:59 +00:00
Makefile.in update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00