You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2023/11/06 11:23:54 UTC

(commons-crypto) branch crypto-174 updated: Try fixed string [skip ci]

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 21348e8a Try fixed string [skip ci]
21348e8a is described below

commit 21348e8a856c82d441751c8fa5ca5c023a767a5c
Author: Sebb <se...@apache.org>
AuthorDate: Mon Nov 6 11:23:48 2023 +0000

    Try fixed string [skip ci]
---
 src/main/native/org/apache/commons/crypto/DynamicLoader.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/native/org/apache/commons/crypto/DynamicLoader.c b/src/main/native/org/apache/commons/crypto/DynamicLoader.c
index 71bb981e..4b3eccdc 100644
--- a/src/main/native/org/apache/commons/crypto/DynamicLoader.c
+++ b/src/main/native/org/apache/commons/crypto/DynamicLoader.c
@@ -44,7 +44,7 @@ HMODULE open_library(JNIEnv *env)
 #endif
 
 #ifdef WINDOWS
-    openssl = LoadLibrary((char *)libraryPath);
+    openssl = LoadLibrary(TEXT("libcrypto-1_1-x64.dll")); // TEMP HACK
 #endif
 
   }