summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2021-06-30 10:11:37 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2021-06-30 10:11:37 +0000
commit9ebf6a4ef498ae30d06cc7e4d01f86d9a0633cc1 (patch)
treefe3f5640cf605d86e91f1bc788bcd95460e24571 /regress
parent570c7b06c62b06de89f2d7536999606e22d3f7b3 (diff)
TLS error messages have changed slightly, adapt regex for expected
logs in syslogd regress.
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.sbin/syslogd/args-client-tls-tcp.pl2
-rw-r--r--regress/usr.sbin/syslogd/args-server-tls-tcp.pl2
-rw-r--r--regress/usr.sbin/syslogd/args-tls-cafile-default.pl2
3 files changed, 3 insertions, 3 deletions
diff --git a/regress/usr.sbin/syslogd/args-client-tls-tcp.pl b/regress/usr.sbin/syslogd/args-client-tls-tcp.pl
index b2ee423262c..806041f3de7 100644
--- a/regress/usr.sbin/syslogd/args-client-tls-tcp.pl
+++ b/regress/usr.sbin/syslogd/args-client-tls-tcp.pl
@@ -42,7 +42,7 @@ our %args = (
loggrep => {
qr/syslogd\[\d+\]: tls logger .* connection error: /.
qr/handshake failed: error:.*:SSL routines:/.
- qr/ST_ACCEPT:tlsv1 alert protocol version/ => 1,
+ qr/ACCEPT_SR_CLNT_HELLO:tlsv1 alert protocol version/ => 1,
},
},
pipe => { nocheck => 1 },
diff --git a/regress/usr.sbin/syslogd/args-server-tls-tcp.pl b/regress/usr.sbin/syslogd/args-server-tls-tcp.pl
index 579efb87d43..02795b763b7 100644
--- a/regress/usr.sbin/syslogd/args-server-tls-tcp.pl
+++ b/regress/usr.sbin/syslogd/args-server-tls-tcp.pl
@@ -41,7 +41,7 @@ our %args = (
loggrep => {
qr/syslogd\[\d+\]: loghost .* connection error: /.
qr/handshake failed: error:.*:SSL routines:/.
- qr/ST_CONNECT:tlsv1 alert protocol version/ => 1,
+ qr/CONNECT_CR_SRVR_HELLO:tlsv1 alert protocol version/ => 1,
},
},
);
diff --git a/regress/usr.sbin/syslogd/args-tls-cafile-default.pl b/regress/usr.sbin/syslogd/args-tls-cafile-default.pl
index a77977117fe..797b8c3683f 100644
--- a/regress/usr.sbin/syslogd/args-tls-cafile-default.pl
+++ b/regress/usr.sbin/syslogd/args-tls-cafile-default.pl
@@ -38,7 +38,7 @@ our %args = (
qr/listen sock: (127.0.0.1|::1) \d+/ => 1,
qr/IO::Socket::SSL socket accept failed: /.
qr/.*,SSL accept attempt failed error:.*/.
- qr/(ST_ACCEPT:tlsv1 alert unknown ca|$errors)/ => 1,
+ qr/(ACCEPT_SR_FINISHED:tlsv1 alert unknown ca|$errors)/ => 1,
get_testgrep() => 0,
},
},