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

sebb pushed a commit to branch crypto-174
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git


The following commit(s) were added to refs/heads/crypto-174 by this push:
     new 3c6446f6 Needs to work on Windows [skip ci]
3c6446f6 is described below

commit 3c6446f6219717c780e21a566b72c46376934e82
Author: Sebb <[email protected]>
AuthorDate: Sun Nov 5 01:37:00 2023 +0000

    Needs to work on Windows [skip ci]
---
 src/main/native/org/apache/commons/crypto/DynamicLoader.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/main/native/org/apache/commons/crypto/DynamicLoader.c 
b/src/main/native/org/apache/commons/crypto/DynamicLoader.c
index b6a4fe03..aa0276f8 100644
--- a/src/main/native/org/apache/commons/crypto/DynamicLoader.c
+++ b/src/main/native/org/apache/commons/crypto/DynamicLoader.c
@@ -44,8 +44,7 @@ HMODULE open_library(JNIEnv *env)
 #endif
 
 #ifdef WINDOWS
-    // not necessary to provide override for Windows
-    openssl = LoadLibrary(TEXT(COMMONS_CRYPTO_OPENSSL_LIBRARY));
+    openssl = LoadLibrary(libraryPath);
 #endif
 
   }

Reply via email to