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
30547a45
Commit
30547a45
authored
Sep 22, 2008
by
Juan Lang
Committed by
Alexandre Julliard
Sep 23, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust: Always initialize CERT_CHAIN_PARA's RequestedUsage.
parent
a9dbc17d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
softpub.c
dlls/wintrust/softpub.c
+5
-0
No files found.
dlls/wintrust/softpub.c
View file @
30547a45
...
@@ -606,6 +606,11 @@ static void WINTRUST_CreateChainPolicyCreateInfo(
...
@@ -606,6 +606,11 @@ static void WINTRUST_CreateChainPolicyCreateInfo(
chainPara
->
cbSize
=
sizeof
(
CERT_CHAIN_PARA
);
chainPara
->
cbSize
=
sizeof
(
CERT_CHAIN_PARA
);
if
(
data
->
pRequestUsage
)
if
(
data
->
pRequestUsage
)
chainPara
->
RequestedUsage
=
*
data
->
pRequestUsage
;
chainPara
->
RequestedUsage
=
*
data
->
pRequestUsage
;
else
{
chainPara
->
RequestedUsage
.
dwType
=
0
;
chainPara
->
RequestedUsage
.
Usage
.
cUsageIdentifier
=
0
;
}
info
->
u
.
cbSize
=
sizeof
(
WTD_GENERIC_CHAIN_POLICY_CREATE_INFO
);
info
->
u
.
cbSize
=
sizeof
(
WTD_GENERIC_CHAIN_POLICY_CREATE_INFO
);
info
->
hChainEngine
=
NULL
;
info
->
hChainEngine
=
NULL
;
info
->
pChainPara
=
chainPara
;
info
->
pChainPara
=
chainPara
;
...
...
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