]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
82-test_ocsp_cert_chain.t: Just ignore unrecognized lines in server output
authorTomas Mraz <tomas@openssl.org>
Fri, 15 Mar 2024 10:27:41 +0000 (11:27 +0100)
committerTomas Mraz <tomas@openssl.org>
Fri, 15 Mar 2024 12:37:50 +0000 (13:37 +0100)
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)

test/recipes/82-test_ocsp_cert_chain.t

index 351ed66b0af2c96148001a1536d98cfc8e170ba3..4764c30aa4c28514ec1fae6eac4380483ca3bf41 100644 (file)
@@ -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");