Hi,The aforementioned patch is for opensmtpd 7.3.0, since libtls/tls.c was introduced in https://github.com/OpenSMTPD/OpenSMTPD/commit/0563fc569539c6b6c7fc7cedc185d612a8d5458a
I think the best fix would be: go ahead and add opensmtpd 7.3.0p1 that was released a few days ago (https://github.com/OpenSMTPD/OpenSMTPD/releases/tag/7.3.0p1)
In the meantime, yes, opensmtpd is (nearly) completely unusable in bookworm. Adrien