Skip to content

Commit

Permalink
Remove bcrypt from linkage on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
qpernil committed Nov 2, 2022
1 parent 04e71d2 commit eb4e5a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ if(WIN32)
set(USB_LIBRARY winusb ws2_32 setupapi)

if(${WIN32_BCRYPT})
set (CRYPT_LIBRARY bcrypt ncrypt)
set (CRYPT_LIBRARY ncrypt)
add_definitions (-D_WIN32_BCRYPT)
else(${WIN32_BCRYPT})
set(CRYPT_LIBRARY ${LIBCRYPTO_LDFLAGS})
Expand Down
2 changes: 1 addition & 1 deletion yubihsm-auth/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ include_directories (
if(WIN32)
list(APPEND SOURCE ${CMAKE_CURRENT_BINARY_DIR}/version.rc)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/version.rc.in ${CMAKE_CURRENT_BINARY_DIR}/version.rc @ONLY)
set (BCRYPT_LIBRARY bcrypt ncrypt)
set (BCRYPT_LIBRARY ncrypt)
endif(WIN32)

# NOTE(adma): required by gengetopt
Expand Down

0 comments on commit eb4e5a0

Please sign in to comment.