summaryrefslogtreecommitdiff
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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c
index abf67e89e14..591fe2beb8e 100644
--- a/usr.sbin/syslogd/syslogd.c
+++ b/usr.sbin/syslogd/syslogd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: syslogd.c,v 1.153 2015/02/10 18:30:20 bluhm Exp $ */
+/* $OpenBSD: syslogd.c,v 1.154 2015/02/12 04:23:17 jsing Exp $ */
/*
* Copyright (c) 1983, 1988, 1993, 1994
@@ -526,6 +526,8 @@ main(int argc, char *argv[])
} else {
struct stat sb;
+ tls_config_set_protocols(tlsconfig, TLS_PROTOCOLS_ALL);
+
fd = -1;
p = NULL;
errno = 0;