From: Tomas Mraz Date: Fri, 15 Mar 2024 10:27:41 +0000 (+0100) Subject: 82-test_ocsp_cert_chain.t: Just ignore unrecognized lines in server output X-Git-Tag: openssl-3.3.0-alpha1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33f6d61323d0184d1db94cfd66c6a2d62d80c580;p=thirdparty%2Fopenssl.git 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 Reviewed-by: Neil Horman (Merged from https://github.com/openssl/openssl/pull/23851) --- diff --git a/test/recipes/82-test_ocsp_cert_chain.t b/test/recipes/82-test_ocsp_cert_chain.t index 351ed66b0af..4764c30aa4c 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");