This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 574a848168 Fix test
574a848168 is described below

commit 574a848168261e714d19e94a14cac329b7005132
Author: remm <r...@apache.org>
AuthorDate: Tue Feb 27 15:14:45 2024 +0100

    Fix test
    
    As posted by Rainer Jung
---
 test/org/apache/tomcat/util/net/TesterSupport.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test/org/apache/tomcat/util/net/TesterSupport.java 
b/test/org/apache/tomcat/util/net/TesterSupport.java
index afbae25dc9..01e003a174 100644
--- a/test/org/apache/tomcat/util/net/TesterSupport.java
+++ b/test/org/apache/tomcat/util/net/TesterSupport.java
@@ -64,6 +64,7 @@ import org.apache.tomcat.util.descriptor.web.LoginConfig;
 import org.apache.tomcat.util.descriptor.web.SecurityCollection;
 import org.apache.tomcat.util.descriptor.web.SecurityConstraint;
 import org.apache.tomcat.util.net.SSLHostConfigCertificate.Type;
+import org.apache.tomcat.util.net.jsse.JSSEImplementation;
 
 public final class TesterSupport {
 
@@ -238,7 +239,8 @@ public final class TesterSupport {
             return false;
         }
         String sslImplementation = 
System.getProperty("tomcat.test.sslImplementation");
-        if (sslImplementation != null && 
!"${test.sslImplementation}".equals(sslImplementation)) {
+        if (sslImplementation != null && 
!"${test.sslImplementation}".equals(sslImplementation)
+                && 
!JSSEImplementation.class.getName().equals(sslImplementation)) {
             // Assume custom SSL is not supporting this
             return false;
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to