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
d7d4a5c4
Commit
d7d4a5c4
authored
Sep 28, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Oct 01, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust: In SoftpubLoadSignature, don't assume a message is present.
parent
5fa55186
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
softpub.c
dlls/wintrust/softpub.c
+7
-1
No files found.
dlls/wintrust/softpub.c
View file @
d7d4a5c4
...
...
@@ -452,13 +452,16 @@ static BOOL WINTRUST_VerifySigner(CRYPT_PROVIDER_DATA *data, DWORD signerIdx)
HRESULT
WINAPI
SoftpubLoadSignature
(
CRYPT_PROVIDER_DATA
*
data
)
{
BOOL
ret
;
DWORD
signerCount
,
size
;
TRACE
(
"(%p)
\n
"
,
data
);
if
(
!
data
->
padwTrustStepErrors
)
return
S_FALSE
;
if
(
data
->
hMsg
)
{
DWORD
signerCount
,
size
;
size
=
sizeof
(
signerCount
);
ret
=
CryptMsgGetParam
(
data
->
hMsg
,
CMSG_SIGNER_COUNT_PARAM
,
0
,
&
signerCount
,
&
size
);
...
...
@@ -474,6 +477,9 @@ HRESULT WINAPI SoftpubLoadSignature(CRYPT_PROVIDER_DATA *data)
}
else
SetLastError
(
TRUST_E_NOSIGNATURE
);
}
else
ret
=
TRUE
;
if
(
!
ret
)
data
->
padwTrustStepErrors
[
TRUSTERROR_STEP_FINAL_OBJPROV
]
=
GetLastError
();
...
...
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