Handling of bogus CA file has changed in syslogd. Adapt tests to
authorbluhm <bluhm@openbsd.org>
Sat, 24 Oct 2015 12:58:32 +0000 (12:58 +0000)
committerbluhm <bluhm@openbsd.org>
Sat, 24 Oct 2015 12:58:32 +0000 (12:58 +0000)
new error messages.

regress/usr.sbin/syslogd/args-tls-cafile-noexist.pl
regress/usr.sbin/syslogd/args-tls-cafile-toobig.pl

index 1395d10..47599da 100644 (file)
@@ -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",
index c41fac5..51bde1a 100644 (file)
@@ -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",