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
cdfb393d
Commit
cdfb393d
authored
Sep 27, 2008
by
Juan Lang
Committed by
Alexandre Julliard
Sep 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust: Only set the error on the root element of the chain.
parent
c20a617a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
softpub.c
dlls/wintrust/softpub.c
+4
-6
No files found.
dlls/wintrust/softpub.c
View file @
cdfb393d
...
...
@@ -611,9 +611,6 @@ static BOOL WINTRUST_CopyChain(CRYPT_PROVIDER_DATA *data, DWORD signerIdx)
data
->
pasSigners
[
signerIdx
].
pasCertChain
[
0
].
dwConfidence
=
WINTRUST_TrustStatusToConfidence
(
simpleChain
->
rgpElement
[
0
]
->
TrustStatus
.
dwErrorStatus
);
data
->
pasSigners
[
signerIdx
].
pasCertChain
[
0
].
dwError
=
WINTRUST_TrustStatusToError
(
simpleChain
->
rgpElement
[
0
]
->
TrustStatus
.
dwErrorStatus
);
data
->
pasSigners
[
signerIdx
].
pasCertChain
[
0
].
pChainElement
=
simpleChain
->
rgpElement
[
0
];
ret
=
TRUE
;
...
...
@@ -628,11 +625,12 @@ static BOOL WINTRUST_CopyChain(CRYPT_PROVIDER_DATA *data, DWORD signerIdx)
data
->
pasSigners
[
signerIdx
].
pasCertChain
[
i
].
dwConfidence
=
WINTRUST_TrustStatusToConfidence
(
simpleChain
->
rgpElement
[
i
]
->
TrustStatus
.
dwErrorStatus
);
data
->
pasSigners
[
signerIdx
].
pasCertChain
[
i
].
dwError
=
WINTRUST_TrustStatusToError
(
simpleChain
->
rgpElement
[
i
]
->
TrustStatus
.
dwErrorStatus
);
}
}
data
->
pasSigners
[
signerIdx
].
pasCertChain
[
simpleChain
->
cElement
-
1
].
dwError
=
WINTRUST_TrustStatusToError
(
simpleChain
->
rgpElement
[
simpleChain
->
cElement
-
1
]
->
TrustStatus
.
dwErrorStatus
);
return
ret
;
}
...
...
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