CVSROOT:        /cvs
Module name:    src
Changes by:     bl...@cvs.openbsd.org   2025/06/26 13:10:13

Modified files:
        usr.sbin/syslogd: syslogd.c 

Log message:
Ensure that syslogd(8) runs TLS handshake callback.

It could happen that the logging client triggered the TLS read
callback before the TLS handshake was recognized by syslogd.  Then
using the hostname from the client certificate did not work.  If
TLS is used after accept, register the handshake callback for both
read and write.  After the handshake has finished, switch to read
callback.  Run it once to process all messaged that might have been
received.

reported, tested and OK henning@

Reply via email to