mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-07-04 12:12:46 -05:00
Fixed cmake test cURL support
This commit is contained in:

committed by
Michał Trojnara

parent
d9f0a8dade
commit
7a5389b719
@ -454,7 +454,7 @@ foreach(file ${files})
|
||||
endforeach(file ${files})
|
||||
|
||||
|
||||
if((Python3_FOUND OR server_error) AND CURL_FOUND)
|
||||
if((Python3_FOUND OR server_error) AND (OPENSSL_VERSION VERSION_GREATER_EQUAL "3.0.0" OR CURL_FOUND))
|
||||
|
||||
### Sign with Time-Stamp Authority ###
|
||||
|
||||
@ -724,9 +724,9 @@ endforeach(ext ${extensions_nocat})
|
||||
message(STATUS "Keep HTTP server after tests")
|
||||
endif(STOP_SERVER)
|
||||
|
||||
else((Python3_FOUND OR server_error) AND CURL_FOUND)
|
||||
else((Python3_FOUND OR server_error) AND (OPENSSL_VERSION VERSION_GREATER_EQUAL "3.0.0" OR CURL_FOUND))
|
||||
message(STATUS "CTest skips some tests")
|
||||
endif((Python3_FOUND OR server_error) AND CURL_FOUND)
|
||||
endif((Python3_FOUND OR server_error) AND (OPENSSL_VERSION VERSION_GREATER_EQUAL "3.0.0" OR CURL_FOUND))
|
||||
|
||||
# Delete test files
|
||||
set(names "legacy" "signed" "signed_crldp" "nested" "revoked" "removed" "added")
|
||||
|
Reference in New Issue
Block a user