summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2024-03-15 11:27:41 +0100
committerTomas Mraz <tomas@openssl.org>2024-03-15 13:37:50 +0100
commit33f6d61323d0184d1db94cfd66c6a2d62d80c580 (patch)
tree7ac57a28bccc183ef5a891b6e6a9248658ff5f60
parent103952d4392e5f637a1dc98053890e132a2ba027 (diff)
82-test_ocsp_cert_chain.t: Just ignore unrecognized lines in server output
There might be warnings from AFL fuzz checker or other warnings that we do not care about. For success it is just required that cert_status: ocsp response sent: is present. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Neil Horman <nhorman@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23851)
-rw-r--r--test/recipes/82-test_ocsp_cert_chain.t4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/recipes/82-test_ocsp_cert_chain.t b/test/recipes/82-test_ocsp_cert_chain.t
index 351ed66b0a..4764c30aa4 100644
--- a/test/recipes/82-test_ocsp_cert_chain.t
+++ b/test/recipes/82-test_ocsp_cert_chain.t
@@ -128,10 +128,6 @@ sub run_test {
if (/^cert_status: ocsp response sent:/) {
$resp = 1;
last;
- } elsif (/^cert_status:/) {
- ;
- } else {
- last;
}
}
ok($resp == 1, "check s_server sent ocsp response");