mirror of
https://github.com/zealdocs/zeal.git
synced 2026-08-29 16:40:51 +08:00
build(cmake): use secure RFC 3161 timestamping
This commit is contained in:
@@ -216,11 +216,11 @@ function(codesign)
|
||||
|
||||
# Set timestamp server.
|
||||
if(NOT _ARG_TIMESTAMP_URL)
|
||||
set(_ARG_TIMESTAMP_URL "http://timestamp.digicert.com")
|
||||
set(_ARG_TIMESTAMP_URL "https://timestamp.digicert.com")
|
||||
endif()
|
||||
|
||||
if(_ARG_TIMESTAMP_URL)
|
||||
list(APPEND _cmd_args "/t" ${_ARG_TIMESTAMP_URL})
|
||||
list(APPEND _cmd_args "/tr" ${_ARG_TIMESTAMP_URL} "/td" "sha256")
|
||||
endif()
|
||||
|
||||
# Set quiet, verbose, or debug options.
|
||||
|
||||
Reference in New Issue
Block a user