From dc64753085e32fffa03224979dfc0c42e6b28778 Mon Sep 17 00:00:00 2001 From: Dirk Wetter Date: Fri, 3 May 2019 20:46:06 +0200 Subject: [PATCH] Add error catcher also for --ssl-native + FTP --- t/25_starttls.t | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/25_starttls.t b/t/25_starttls.t index 5d55d16..90ccda9 100755 --- a/t/25_starttls.t +++ b/t/25_starttls.t @@ -105,6 +105,8 @@ $tests++; printf "\n%s\n", "STARTTLS FTP unit tests via OpenSSL --> $uri ..."; $opensslout = `./testssl.sh --ssl-native $check2run -t ftp $uri`; # my $openssl = json('tmp.json'); +# OCSP stapling fails sometimes with: 'offered, error querying OCSP responder (ERROR: No Status found)' +$opensslout =~ s/ error querying OCSP responder .*\n//g; unlike($opensslout, qr/(e|E)rror|(f|F)atal|Oops|s_client connect problem/, ""); $tests++;