[sudo-commits] sudo changeset 12084:afda37d1dd26

Todd C. Miller Todd.Miller at sudo.ws
Thu Jan 16 17:39:32 MST 2020


changeset:	12084:afda37d1dd26 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/afda37d1dd26
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Thu Jan 16 17:37:45 2020 -0700

Log Message:
	Fix TLS connect when SSL_connect returns SSL_ERROR_WANT_READ.
	We need to switch from SUDO_EV_WRITE to SUDO_EV_READ for this case.
	Also make the tls connect events private to tls_timed_connect()
	with their own closure.  There is no need to store them in the
	client closure.

diffstat:

 logsrvd/sendlog.c              |   74 +++++++++++++++++--------
 plugins/sudoers/iolog_client.c |  114 +++++++++++++++++++++++++---------------
 plugins/sudoers/iolog_plugin.h |    5 -
 3 files changed, 120 insertions(+), 73 deletions(-)


More information about the sudo-commits mailing list