summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syslogd/syslogd.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/syslogd/syslogd.c')
-rw-r--r--usr.sbin/syslogd/syslogd.c18
1 files changed, 2 insertions, 16 deletions
diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c
index eb762595cbb..89e14064205 100644
--- a/usr.sbin/syslogd/syslogd.c
+++ b/usr.sbin/syslogd/syslogd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: syslogd.c,v 1.173 2015/07/16 23:29:14 bluhm Exp $ */
+/* $OpenBSD: syslogd.c,v 1.174 2015/07/18 22:33:46 bluhm Exp $ */
/*
* Copyright (c) 1983, 1988, 1993, 1994
@@ -1498,22 +1498,8 @@ fprintlog(struct filed *f, int flags, char *msg)
}
break;
- case F_FORWTLS:
- if (f->f_un.f_forw.f_buftls.bt_flags & BT_WRITE_AGAIN) {
- /*
- * After an OpenSSL SSL_ERROR_WANT_WRITE you must not
- * modify the buffer pointer or length until the next
- * successful write. Otherwise there will be an
- * error SSL3_WRITE_PENDING:bad write retry.
- * XXX This should be handled in the buffertls layer.
- */
- dprintf(" %s (dropped tls write again)\n",
- f->f_un.f_forw.f_loghost);
- f->f_un.f_forw.f_dropped++;
- break;
- }
- /* FALLTHROUGH */
case F_FORWTCP:
+ case F_FORWTLS:
dprintf(" %s", f->f_un.f_forw.f_loghost);
if (EVBUFFER_LENGTH(f->f_un.f_forw.f_bufev->output) >=
MAX_TCPBUF) {