mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Revert usage of OpenSSL blake2 implementation
This commit is contained in:
1 parent
6963af7614
commit
8c638fcaff
7 files changed
+52
-115
No files matched your search
+2
-6
@@ -414,9 +414,7 @@ add_executable(3proxy
|
||||
$<TARGET_OBJECTS:ftp_obj>
|
||||
$<TARGET_OBJECTS:3proxy_crypt_obj>
|
||||
)
|
||||
if(NOT OpenSSL_FOUND)
|
||||
target_sources(3proxy PRIVATE ${MD_SOURCES})
|
||||
endif()
|
||||
target_sources(3proxy PRIVATE ${MD_SOURCES})
|
||||
|
||||
if(OpenSSL_FOUND)
|
||||
target_sources(3proxy PRIVATE src/ssllib.c src/ssl.c)
|
||||
@@ -523,9 +521,7 @@ add_executable(3proxy_crypt
|
||||
src/3proxy_crypt.c
|
||||
$<TARGET_OBJECTS:base64_obj>
|
||||
)
|
||||
if(NOT OpenSSL_FOUND)
|
||||
target_sources(3proxy_crypt PRIVATE ${MD_SOURCES})
|
||||
endif()
|
||||
target_sources(3proxy_crypt PRIVATE ${MD_SOURCES})
|
||||
target_compile_definitions(3proxy_crypt PRIVATE WITHMAIN)
|
||||
target_include_directories(3proxy_crypt PRIVATE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src
|
||||
|
||||
Reference in new issue
Block a user