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 <r...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to