diff options
| author | 2015-10-09 16:58:25 +0000 | |
|---|---|---|
| committer | 2015-10-09 16:58:25 +0000 | |
| commit | 1cfd376a1dba5eeb3201d3836982234b3b55bbe4 (patch) | |
| tree | b26cff43469a25494527f426d3acd1f737197a9e /usr.sbin/syslogd/evbuffer_tls.h | |
| parent | Convert fgetln(3) to getline(3). (diff) | |
| download | wireguard-openbsd-1cfd376a1dba5eeb3201d3836982234b3b55bbe4.tar.xz wireguard-openbsd-1cfd376a1dba5eeb3201d3836982234b3b55bbe4.zip | |
If syslogd is started with -S, it accepts TLS connections to receive
encrypted messages. The server certificates are taken from /etc/ssl
like relayd does.
OK benno@ beck@ deraadt@
Diffstat (limited to 'usr.sbin/syslogd/evbuffer_tls.h')
| -rw-r--r-- | usr.sbin/syslogd/evbuffer_tls.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/syslogd/evbuffer_tls.h b/usr.sbin/syslogd/evbuffer_tls.h index 3ce8083b042..fca3c211f6c 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.4 2015/09/10 18:32:06 bluhm Exp $ */ +/* $OpenBSD: evbuffer_tls.h,v 1.5 2015/10/09 16:58:25 bluhm Exp $ */ /* * Copyright (c) 2014-2015 Alexander Bluhm <bluhm@openbsd.org> @@ -31,6 +31,7 @@ struct buffertls { void buffertls_set(struct buffertls *, struct bufferevent *, struct tls *, int); +void buffertls_accept(struct buffertls *, int); void buffertls_connect(struct buffertls *, int); #endif /* _EVBUFFER_TLS_H_ */ |
