]> git.ipfire.org Git - thirdparty/bind9.git/commit
Move most of the OpenSSL initialization to isc_tls
authorOndřej Surý <ondrej@sury.org>
Tue, 9 Feb 2021 12:25:46 +0000 (13:25 +0100)
committerOndřej Surý <ondrej@isc.org>
Fri, 26 Feb 2021 16:07:01 +0000 (17:07 +0100)
commit6da91bf16c3d9be0ad9c009bd0e960ffc0743919
tree1511ee9376a8b9e0710919d5dbd4bee10e7cd23b
parent19fb22878214adbf0a29d44cbb1b55b72616a0ed
Move most of the OpenSSL initialization to isc_tls

Since we now require both libcrypto and libssl to be initialized for
netmgr, we move all the OpenSSL initialization code except the engine
initialization to isc_tls API.

The isc_tls_initialize() and isc_tls_destroy() has been made idempotent,
so they could be called multiple time.  However when isc_tls_destroy()
has been called, the isc_tls_initialize() could not be called again.
lib/dns/dst_api.c
lib/dns/dst_internal.h
lib/dns/openssl_link.c
lib/isc/tls.c