forked from ibmruntimes/openj9-openjdk-jdk
-
Notifications
You must be signed in to change notification settings - Fork 0
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 loaded. - 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 property. 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 <[email protected]> Co-authored by: Kostas Tsiounis <[email protected]> Signed-off-by: Kostas Tsiounis <[email protected]>
- Loading branch information
1 parent
a43a394
commit d786bf9
Showing
7 changed files
with
436 additions
and
402 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.