-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consistently load OpenSSL libraries among different platforms.
As part of this pull request, these changes are performed: - Allow loading specific user-defined OpenSSL library using the -Djdk.native.openssl.lib option. - OpenSSL library loading is consolidated into a single file using ifdefs. - The platform-specific MD files are no longer needed and are thus deleted. - Additional traces are added to indicate the attempts and actual OpenSSL library laoded. - The location of the library loaded is printed. Moreover, the order of preference for loading a library is updated to follow this order: 1. Explicitly load what was specified via JVM porperty. Fail if loading fails. 2. Search within the Semeru directories for a bundled version. 3. Search the system for existing libraries and attempt to find the higher version. 4. If all of the previous steps fail, revert to original Java implementation for crypto. Co-authored by: Paritosh Kumar <paritkum@in.ibm.com> Co-authored by: Kostas Tsiounis <kostas.tsiounis@ibm.com> Signed-off-by: Kostas Tsiounis <kostas.tsiounis@ibm.com>
- Loading branch information
1 parent
e251cff
commit df4519f
Showing
7 changed files
with
375 additions
and
388 deletions.
There are no files selected for viewing
84 changes: 0 additions & 84 deletions
84
closed/src/java.base/aix/native/libjncrypto/NativeCrypto_md.c
This file was deleted.
Oops, something went wrong.
75 changes: 0 additions & 75 deletions
75
closed/src/java.base/macosx/native/libjncrypto/NativeCrypto_md.c
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.