-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try something to fix unreproducable error
- Loading branch information
Bill Yang
committed
Jul 25, 2024
1 parent
bc79c17
commit b0ee741
Showing
2 changed files
with
23 additions
and
19 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
add_definitions(-DOPENSSL_NO_ASM=1) | ||
remove_definitions(-DBORINGSSL_FIPS -DFIPS_ENTROPY_SOURCE_JITTER_CPU -DFIPS_ENTROPY_SOURCE_PASSIVE) | ||
if(FIPS AND APPLE) | ||
add_definitions(-DOPENSSL_NO_ASM=1) | ||
remove_definitions(-DBORINGSSL_FIPS -DFIPS_ENTROPY_SOURCE_JITTER_CPU -DFIPS_ENTROPY_SOURCE_PASSIVE) | ||
|
||
add_library( | ||
fips_hashing | ||
|
||
STATIC | ||
add_library( | ||
fips_hashing | ||
STATIC | ||
|
||
fips_hashing.c | ||
fips_hashing.c | ||
|
||
../mem.c | ||
../thread_none.c | ||
../thread_pthread.c | ||
../mem.c | ||
../thread_none.c | ||
../thread_pthread.c | ||
|
||
../err/err.c | ||
../decrepit/ripemd/ripemd.c | ||
) | ||
../err/err.c | ||
$<TARGET_OBJECTS:generated_err_data> | ||
../decrepit/ripemd/ripemd.c | ||
) | ||
|
||
SET_TARGET_PROPERTIES(fips_hashing PROPERTIES LINKER_LANGUAGE C) | ||
target_include_directories(fips_hashing PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>) | ||
target_link_libraries(fips_hashing generated_err_data) | ||
SET_TARGET_PROPERTIES(fips_hashing PROPERTIES LINKER_LANGUAGE C) | ||
target_include_directories(fips_hashing PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>) | ||
endif() |