aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--updater/authenticode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/authenticode.go b/updater/authenticode.go
index 11aa84d6..fc8691f3 100644
--- a/updater/authenticode.go
+++ b/updater/authenticode.go
@@ -21,7 +21,7 @@ func verifyAuthenticode(path string) bool {
UIChoice: windows.WTD_UI_NONE,
RevocationChecks: windows.WTD_REVOKE_WHOLECHAIN, // Full revocation checking, as this is called with network connectivity.
UnionChoice: windows.WTD_CHOICE_FILE,
- StateAction: 1, // Should be `windows.WTD_STATEACTION_VERIFY`, but the constant is wrong right now.
+ StateAction: windows.WTD_STATEACTION_VERIFY,
FileOrCatalogOrBlobOrSgnrOrCert: unsafe.Pointer(&windows.WinTrustFileInfo{
Size: uint32(unsafe.Sizeof(windows.WinTrustFileInfo{})),
FilePath: path16,