mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-09-13 09:17:20 -07:00
wintrust-WinVerifyTrust: Fix a compiler warning with gcc 5.3.1 (thanks Michael Müller).
This commit is contained in:
parent
8b8f5b3b8c
commit
a872e2b1d0
@ -1,4 +1,4 @@
|
||||
From 39bcd580eac20b8142298feab32bebe4f9269eae Mon Sep 17 00:00:00 2001
|
||||
From 108397c3d5e227ac2d83740a7f437fa275f1e65d Mon Sep 17 00:00:00 2001
|
||||
From: Mark Jansen <learn0more+wine@gmail.com>
|
||||
Date: Sat, 2 Apr 2016 02:57:47 +0200
|
||||
Subject: wintrust: Verify image hash in WinVerifyTrust.
|
||||
@ -10,7 +10,7 @@ Includes various improvements by Sebastian Lackner <sebastian@fds-team.de>.
|
||||
2 files changed, 173 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/dlls/wintrust/softpub.c b/dlls/wintrust/softpub.c
|
||||
index 4e8582e..168012f 100644
|
||||
index 4e8582e..bb2fbd4 100644
|
||||
--- a/dlls/wintrust/softpub.c
|
||||
+++ b/dlls/wintrust/softpub.c
|
||||
@@ -1,5 +1,6 @@
|
||||
@ -118,7 +118,7 @@ index 4e8582e..168012f 100644
|
||||
+ LARGE_INTEGER file_size;
|
||||
+ BOOL release_prov = FALSE;
|
||||
+ HCRYPTPROV prov = data->hProv;
|
||||
+ HCRYPTHASH hash = NULL;
|
||||
+ HCRYPTHASH hash = 0;
|
||||
+ ALG_ID algID;
|
||||
+ HANDLE map = NULL;
|
||||
+
|
||||
|
Loading…
Reference in New Issue
Block a user