Commit 825053db authored by Tobias Wich's avatar Tobias Wich
Browse files

Downgrade jna, so it is compatible with proxy-vole

parent 238fe8e6
......@@ -866,12 +866,12 @@
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>5.4.0</version>
<version>4.5.2</version>
</dependency>
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna-platform</artifactId>
<version>5.4.0</version>
<version>4.5.2</version>
</dependency>
<!-- BouncyCastle -->
......
......@@ -120,7 +120,7 @@ public class MiddleWareWrapper {
options.put(Library.OPTION_OPEN_FLAGS, 0x6);
}
CryptokiLibrary tmpLib = (CryptokiLibrary) Native.load(libName, CryptokiLibrary.class, options);
CryptokiLibrary tmpLib = (CryptokiLibrary) Native.loadLibrary(libName, CryptokiLibrary.class, options);
nl = NativeLibrary.getInstance(libName, options);
threadLock = new Semaphore(1, true);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment