diff options
| author | 2015-07-18 22:33:46 +0000 | |
|---|---|---|
| committer | 2015-07-18 22:33:46 +0000 | |
| commit | 5edb47cb1a80d1f13daf331eb009ea4d70796f34 (patch) | |
| tree | 9f16a44fb4e07c1a3db1534a81aa1f88737ee5da /usr.sbin/syslogd/evbuffer_tls.h | |
| parent | Remove repeated code in dtls1_get_record. (diff) | |
| download | wireguard-openbsd-5edb47cb1a80d1f13daf331eb009ea4d70796f34.tar.xz wireguard-openbsd-5edb47cb1a80d1f13daf331eb009ea4d70796f34.zip | |
As libtls previously did not set SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER,
syslogd had to drop messages after tls_write() returned
TLS_{READ,WRITE}_AGAIN. Now after libtls has been fixed, remove
the workaround. Messages are stored in the libevent write buffer
as we can safely do a realloc(3) now.
OK reyk@
Diffstat (limited to 'usr.sbin/syslogd/evbuffer_tls.h')
| -rw-r--r-- | usr.sbin/syslogd/evbuffer_tls.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/syslogd/evbuffer_tls.h b/usr.sbin/syslogd/evbuffer_tls.h index e28ed53cc6b..d895808947f 100644 --- a/usr.sbin/syslogd/evbuffer_tls.h +++ b/usr.sbin/syslogd/evbuffer_tls.h @@ -1,4 +1,4 @@ -/* $OpenBSD: evbuffer_tls.h,v 1.2 2015/02/20 00:56:32 bluhm Exp $ */ +/* $OpenBSD: evbuffer_tls.h,v 1.3 2015/07/18 22:33:46 bluhm Exp $ */ /* * Copyright (c) 2014-2015 Alexander Bluhm <bluhm@openbsd.org> @@ -28,8 +28,6 @@ struct buffertls { struct bufferevent *bt_bufev; struct tls *bt_ctx; const char *bt_hostname; - int bt_flags; -#define BT_WRITE_AGAIN 0x1 }; void buffertls_set(struct buffertls *, struct bufferevent *, struct tls *, |
