summaryrefslogtreecommitdiff
path: root/regress/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'regress/usr.sbin')
-rw-r--r--regress/usr.sbin/relayd/Server.pm3
-rw-r--r--regress/usr.sbin/syslogd/Server.pm3
2 files changed, 4 insertions, 2 deletions
diff --git a/regress/usr.sbin/relayd/Server.pm b/regress/usr.sbin/relayd/Server.pm
index 5ada2f91833..6aef43f5a90 100644
--- a/regress/usr.sbin/relayd/Server.pm
+++ b/regress/usr.sbin/relayd/Server.pm
@@ -1,4 +1,4 @@
-# $OpenBSD: Server.pm,v 1.11 2016/09/22 01:16:29 bluhm Exp $
+# $OpenBSD: Server.pm,v 1.12 2017/01/31 18:02:54 bluhm Exp $
# Copyright (c) 2010-2015 Alexander Bluhm <bluhm@openbsd.org>
#
@@ -43,6 +43,7 @@ sub new {
Domain => $self->{listendomain},
$self->{listenaddr} ? (LocalAddr => $self->{listenaddr}) : (),
$self->{listenport} ? (LocalPort => $self->{listenport}) : (),
+ SSL_server => 1,
SSL_key_file => "server.key",
SSL_cert_file => "server.crt",
SSL_verify_mode => SSL_VERIFY_NONE,
diff --git a/regress/usr.sbin/syslogd/Server.pm b/regress/usr.sbin/syslogd/Server.pm
index 1aaf236d125..78f4e45e738 100644
--- a/regress/usr.sbin/syslogd/Server.pm
+++ b/regress/usr.sbin/syslogd/Server.pm
@@ -1,4 +1,4 @@
-# $OpenBSD: Server.pm,v 1.10 2016/09/23 14:35:15 bluhm Exp $
+# $OpenBSD: Server.pm,v 1.11 2017/01/31 18:02:54 bluhm Exp $
# Copyright (c) 2010-2015 Alexander Bluhm <bluhm@openbsd.org>
#
@@ -52,6 +52,7 @@ sub listen {
Domain => $self->{listendomain},
$self->{listenaddr} ? (LocalAddr => $self->{listenaddr}) : (),
$self->{listenport} ? (LocalPort => $self->{listenport}) : (),
+ SSL_server => 1,
SSL_key_file => "server.key",
SSL_cert_file => "server.crt",
SSL_ca_file => ($self->{sslca} || "ca.crt"),