The JNA code should now be able to support all combinations of methods. Also JNA supports the property jna.library.path when loading the crypto library. This allows one to override the default which may not be the same as the default OpenSSL version. e.g. the GH action builds default to OpenSSL 1.1.1, but the default crypto library is LibreSSL 2.x.
The override works fine on macOS, but I have yet to find the correct value on Windows. JNI works OK on all OSes, but the default crypto library it uses may be different from the OpenSSL version. So far have not found out how to override the default successfully when the Commons native code is invoked as part of a Java app. It looks like the environment variables that work for non-Java apps are not passed to the native code. Sebb --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org