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 67a2c30  Differentiate OpenSSL implementations
67a2c30 is described below

commit 67a2c30589d4330c0355881234a0606eefae7e9f
Author: remm <r...@apache.org>
AuthorDate: Mon Nov 8 14:19:09 2021 +0100

    Differentiate OpenSSL implementations
    
    Most importantly avoid using "jsse" for OpenSSL with Java 17.
---
 java/org/apache/coyote/http11/AbstractHttp11JsseProtocol.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/java/org/apache/coyote/http11/AbstractHttp11JsseProtocol.java 
b/java/org/apache/coyote/http11/AbstractHttp11JsseProtocol.java
index 2998532..d988095 100644
--- a/java/org/apache/coyote/http11/AbstractHttp11JsseProtocol.java
+++ b/java/org/apache/coyote/http11/AbstractHttp11JsseProtocol.java
@@ -38,6 +38,10 @@ public abstract class AbstractHttp11JsseProtocol<S>
         if 
(OpenSSLImplementation.class.getName().equals(getSslImplementationName())) {
             return "openssl";
         }
+        if (getSslImplementationName() != null
+                && 
getSslImplementationName().endsWith(".panama.OpenSSLImplementation")) {
+            return "openssljava17";
+        }
         return "jsse";
     }
 

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

Reply via email to