From 03dec1288e42c92c53f9932a76830880a7788fb0 Mon Sep 17 00:00:00 2001 From: bluhm Date: Sat, 24 Oct 2015 12:58:32 +0000 Subject: [PATCH] Handling of bogus CA file has changed in syslogd. Adapt tests to new error messages. --- regress/usr.sbin/syslogd/args-tls-cafile-noexist.pl | 2 +- regress/usr.sbin/syslogd/args-tls-cafile-toobig.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/regress/usr.sbin/syslogd/args-tls-cafile-noexist.pl b/regress/usr.sbin/syslogd/args-tls-cafile-noexist.pl index 1395d102654..47599da7045 100644 --- a/regress/usr.sbin/syslogd/args-tls-cafile-noexist.pl +++ b/regress/usr.sbin/syslogd/args-tls-cafile-noexist.pl @@ -16,7 +16,7 @@ our %args = ( qr/open CAfile: No such file or directory/ => 2, qr/Logging to FORWTLS \@tls:\/\/localhost:\d+/ => '>=4', qr/syslogd: tls_connect_socket .*: /. - qr/ssl verify setup failure/ => 2, + qr/ssl verify memory setup failure/ => 2, get_testgrep() => 1, }, cacrt => "noexist", diff --git a/regress/usr.sbin/syslogd/args-tls-cafile-toobig.pl b/regress/usr.sbin/syslogd/args-tls-cafile-toobig.pl index c41fac54579..51bde1a3471 100644 --- a/regress/usr.sbin/syslogd/args-tls-cafile-toobig.pl +++ b/regress/usr.sbin/syslogd/args-tls-cafile-toobig.pl @@ -16,7 +16,7 @@ our %args = ( qr/CAfile larger than 50MB/ => 2, qr/Logging to FORWTLS \@tls:\/\/localhost:\d+/ => '>=4', qr/syslogd: tls_connect_socket .*: /. - qr/ssl verify setup failure/ => 2, + qr/ssl verify memory setup failure/ => 2, get_testgrep() => 1, }, cacrt => "toobig", -- 2.20.1