Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
0cd94ac5
Commit
0cd94ac5
authored
May 03, 2011
by
Piotr Caban
Committed by
Alexandre Julliard
May 03, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imagehlp: Set Index in ImageAddCertificate function.
parent
f3f59d2c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
integrity.c
dlls/imagehlp/integrity.c
+2
-4
No files found.
dlls/imagehlp/integrity.c
View file @
0cd94ac5
...
...
@@ -392,10 +392,6 @@ BOOL WINAPI ImageAddCertificate(
/* If we've already got a security directory, find the end of it */
if
((
r
)
&&
(
sd_VirtualAddr
!=
0
))
{
offset
=
0
;
index
=
0
;
count
=
0
;
/* Check if the security directory is at the end of the file.
If not, we should probably relocate it. */
if
(
GetFileSize
(
FileHandle
,
NULL
)
!=
sd_VirtualAddr
+
size
)
...
...
@@ -479,6 +475,8 @@ BOOL WINAPI ImageAddCertificate(
if
(
!
IMAGEHLP_RecalculateChecksum
(
FileHandle
))
return
FALSE
;
if
(
Index
)
*
Index
=
index
;
return
TRUE
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment