diff options
author | Owen Rudge <owen@owenrudge.net> | 2021-11-09 14:05:11 +0000 |
---|---|---|
committer | Owen Rudge <owen@owenrudge.net> | 2021-11-10 10:26:33 +0000 |
commit | 7d40cc9291a816fb62f9f7880a7dcf8fee0a23d9 (patch) | |
tree | b8c469d2e7969a57c80647d625f71704003a8bd6 /os | |
parent | 48c1c7f221cd51fbe4fda3771eaed09edacef997 (diff) | |
download | openttd-7d40cc9291a816fb62f9f7880a7dcf8fee0a23d9.tar.xz |
Change: Explicitly specify SHA1 for legacy code signing on Windows
Diffstat (limited to 'os')
-rw-r--r-- | os/windows/sign.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/windows/sign.bat b/os/windows/sign.bat index 0e4291f9b..3954d4618 100644 --- a/os/windows/sign.bat +++ b/os/windows/sign.bat @@ -12,7 +12,7 @@ REM URL of the timestamp server IF NOT DEFINED SIGNTOOL_TIMESTAMP_URL (SET SIGNTOOL_TIMESTAMP_URL=http://timestamp.digicert.com) REM Sign with SHA-1 for Windows 7 and below -"%SIGNTOOL_PATH%" sign -v -n %2 -t %SIGNTOOL_TIMESTAMP_URL% %1 +"%SIGNTOOL_PATH%" sign -v -n %2 -t %SIGNTOOL_TIMESTAMP_URL% -fd sha1 %1 REM Sign with SHA-256 for Windows 8 and above "%SIGNTOOL_PATH%" sign -v -n %2 -tr %SIGNTOOL_TIMESTAMP_URL% -fd sha256 -td sha256 -as %1 |