You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2024/02/14 15:46:12 UTC
(tomcat) branch main updated: Add note about library loading
This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 153a12c4c3 Add note about library loading
153a12c4c3 is described below
commit 153a12c4c30d15aec1237836643f5170636b6a08
Author: remm <re...@apache.org>
AuthorDate: Wed Feb 14 15:22:42 2024 +0100
Add note about library loading
---
java/org/apache/tomcat/util/openssl/openssl_h.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/java/org/apache/tomcat/util/openssl/openssl_h.java b/java/org/apache/tomcat/util/openssl/openssl_h.java
index 4067d037cc..9d9d701312 100644
--- a/java/org/apache/tomcat/util/openssl/openssl_h.java
+++ b/java/org/apache/tomcat/util/openssl/openssl_h.java
@@ -51,6 +51,7 @@ public class openssl_h {
static final SymbolLookup SYMBOL_LOOKUP;
static {
String os = System.getProperty("os.name").toLowerCase(Locale.ENGLISH);
+ // Note: Library loading is not portable for MacOS https://github.com/sergot/openssl/issues/81
if (os.indexOf("mac") >= 0) {
System.loadLibrary("ssl");
SYMBOL_LOOKUP = SymbolLookup.loaderLookup().or(Linker.nativeLinker().defaultLookup());
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org