]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Make pytest error whitelist a bit more explicit
authorRainer Jung <rjung@apache.org>
Mon, 11 Jul 2022 13:49:45 +0000 (13:49 +0000)
committerRainer Jung <rjung@apache.org>
Mon, 11 Jul 2022 13:49:45 +0000 (13:49 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1902660 13f79535-47bb-0310-9956-ffa450edef68

test/modules/http2/env.py

index d3a8a65dd9dfe80a04bd7408e91c32d537c1cbac..55dce591071c0192d2703759e6f01101f212212c 100644 (file)
@@ -99,9 +99,14 @@ class H2TestEnv(HttpdTestEnv):
         self.httpd_error_log.add_ignored_patterns([
             re.compile(r'.*malformed header from script \'hecho.py\': Bad header: x.*'),
             re.compile(r'.*:tls_post_process_client_hello:.*'),
+            # OSSL 3 dropped the function name from the error description. Use the code instead:
+            # 0A0000C1 = no shared cipher -- Too restrictive SSLCipherSuite or using DSA server certificate?
+            re.compile(r'.*SSL Library Error: error:0A0000C1:.*'),
             re.compile(r'.*:tls_process_client_certificate:.*'),
+            # OSSL 3 dropped the function name from the error description. Use the code instead:
+            # 0A0000C7 = peer did not return a certificate -- No CAs known to server for verification?
+            re.compile(r'.*SSL Library Error: error:0A0000C7:.*'),
             re.compile(r'.*have incompatible TLS configurations.'),
-            re.compile(r'.*SSL Library Error: error:0A0000C[17]:.*'),
         ])
 
     def setup_httpd(self, setup: HttpdTestSetup = None):