CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/06/14 02:57:43
Modified files:
usr.sbin/relayd: ca.c relayd.h ssl.c
Log message:
relayd: drain OpenSSL error queue on TLS failures
Borrowed from smtpd. Without draining we just log "RSA_meth_dup failed"
and lose the actual reason.
Wire ssl_error() into ca_engine_init(), which also kills a dead
RSA_meth_free() on a NULL pointer there, and into ssl_load_key()s fail
path.
Tweaks and OK tb
