Skip to content

Commit 2b4e102

Browse files
committed
load bundled semeru dll
1 parent b3f2003 commit 2b4e102

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

closed/src/java.base/share/native/libjncrypto/NativeCrypto.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,7 @@ find_crypto_library(jboolean traceEnabled, const char *chomepath)
636636
*/
637637
static const char * const libNames[] = {
638638
#if defined(_AIX)
639+
"libcrypto-semeru.so", /* bundled version of library */
639640
"libcrypto.a(libcrypto64.so)", /* general symlink library name from archive file */
640641
"libcrypto64.so", /* general symlink library name */
641642
"libcrypto.a(libcrypto.so)", /* general symlink library name from archive file */
@@ -649,14 +650,17 @@ find_crypto_library(jboolean traceEnabled, const char *chomepath)
649650
"libcrypto.a(libcrypto.so.1.0.0)", /* 1.0.x library name from archive file */
650651
"libcrypto.so.1.0.0", /* 1.0.x library name */
651652
#elif defined(__APPLE__) /* defined(_AIX) */
653+
"libcrypto-semeru.dylib", /* bundled version of library */
652654
"libcrypto.3.dylib", /* 3.x library name */
653655
"libcrypto.1.1.dylib", /* 1.1.x library name */
654656
"libcrypto.1.0.0.dylib", /* 1.0.x library name */
655657
#elif defined(_WIN32) /* defined(__APPLE__) */
658+
"libcrypto-semeru.dll", /* bundled version of library */
656659
"libcrypto-3-x64.dll", /* 3.x library name */
657660
"libcrypto-1_1-x64.dll", /* 1.1.x library name */
658661
"libeay32.dll", /* old library name */
659662
#else /* defined(_WIN32) */
663+
"libcrypto-semeru.so", /* bundled version of library */
660664
"libcrypto.so", /* general symlink library name */
661665
"libcrypto.so.3", /* 3.x library name */
662666
"libcrypto.so.1.1", /* 1.1.x library name */

0 commit comments

Comments
 (0)