This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.0.x by this push:
new 1bfaba1 Differentiate OpenSSL implementations
1bfaba1 is described below
commit 1bfaba1c9415c991e551c7fa62f0ee409f595c11
Author: remm <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]