Remove unneeded calls to tls_init(3)
authorkn <kn@openbsd.org>
Wed, 14 Jul 2021 13:33:57 +0000 (13:33 +0000)
committerkn <kn@openbsd.org>
Wed, 14 Jul 2021 13:33:57 +0000 (13:33 +0000)
commitfa56b7e6af638e1836a608d1e023437f08bf1f4f
treee2dfd5893ade1f97536bebe669725b2d76c1e760
parentf1521a7729f759b83db766d226ba022efea77ce1
Remove unneeded calls to tls_init(3)

As per the manual and lib/libtls/tls.c revision 1.79 from 2018
"Automatically handle library initialisation for libtls." initialisation
is handled automatically by other tls_*(3) functions.

Remove explicit tls_init() calls from base to not give the impression of
it being needed.

Feedback tb
OK Tests mestre
libexec/spamd/spamd.c
usr.bin/ftp/main.c
usr.sbin/acme-client/http.c
usr.sbin/httpd/server.c
usr.sbin/ldapd/ldapd.c
usr.sbin/ocspcheck/http.c
usr.sbin/relayd/config.c
usr.sbin/smtpd/smtpc.c
usr.sbin/smtpd/smtpd.c
usr.sbin/syslogd/syslogd.c