summaryrefslogtreecommitdiff
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-11-30 09:11:58 -0500
committerBrad King <brad.king@kitware.com>2022-11-30 09:16:22 -0500
commit870f30aacc14f0ed61ea287d87e80c2307871104 (patch)
treed59c66398f9d281b615b2244fe406e23bbdfa5f3 /Utilities
parent067487089217e2f59fda2bfe0556f814d4fa2f39 (diff)
downloadcmake-870f30aacc14f0ed61ea287d87e80c2307871104.tar.gz
Utilities/Release: Use explicit digest for Win7-compatible signature
Otherwise `signtool` warns.
Diffstat (limited to 'Utilities')
-rwxr-xr-xUtilities/Release/win/sign-package.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/Release/win/sign-package.ps1 b/Utilities/Release/win/sign-package.ps1
index 0dbefd2bac..fdaff14783 100755
--- a/Utilities/Release/win/sign-package.ps1
+++ b/Utilities/Release/win/sign-package.ps1
@@ -16,7 +16,7 @@ if ($trace -eq $true) {
$ErrorActionPreference = 'Stop'
# Sign binaries with SHA-1 for Windows 7 and below.
-& $signtool sign -v -a -t http://timestamp.digicert.com bin\*.exe
+& $signtool sign -v -a -t http://timestamp.digicert.com -fd sha1 bin\*.exe
# Sign binaries with SHA-256 for Windows 8 and above.
& $signtool sign -v -a -tr http://timestamp.digicert.com -fd sha256 -td sha256 -as bin\*.exe