diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-01-31 18:02:55 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-01-31 18:02:55 +0000 |
commit | 7292ed9b9f1d35425c912c38466f66c6d713c311 (patch) | |
tree | f6fcdcc5b68e45c716c8c016cd9e4bd8edc9bfeb /regress/usr.sbin | |
parent | 12b63832f7f743bb6a56d51891bdccb8f720de07 (diff) |
Mark the IO::Socket::SSL server socket with SSL_server to avoid
OCSP error messages.
Diffstat (limited to 'regress/usr.sbin')
-rw-r--r-- | regress/usr.sbin/relayd/Server.pm | 3 | ||||
-rw-r--r-- | regress/usr.sbin/syslogd/Server.pm | 3 |
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"), |