Call tls_accept_socket() and tls_connect_socket() immediatly instead of
authoreric <eric@openbsd.org>
Thu, 20 May 2021 07:33:32 +0000 (07:33 +0000)
committereric <eric@openbsd.org>
Thu, 20 May 2021 07:33:32 +0000 (07:33 +0000)
commitc11a901bb9f4c56497de50bbc933530b5b35839a
tree790f28c1f38cf4a58cfd2b7d125c13d8145a3751
parent3d760e7fddc58c8d08b1f1a5417be60eb6e00903
Call tls_accept_socket() and tls_connect_socket() immediatly instead of
going through a deferred event. It makes the code simplier and eliminates
the need to keep the listener tls context in the io structure.

ok tb@
usr.sbin/smtpd/ioev.c
usr.sbin/smtpd/mta_session.c
usr.sbin/smtpd/smtp_session.c