Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
99e557f0
Commit
99e557f0
authored
Oct 01, 2010
by
Juan Lang
Committed by
Alexandre Julliard
Oct 04, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cryptui: Check whether caller called WinVerifyTrust when deciding whether to call it.
parent
e47fae98
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
main.c
dlls/cryptui/main.c
+2
-2
No files found.
dlls/cryptui/main.c
View file @
99e557f0
...
...
@@ -4434,7 +4434,7 @@ BOOL WINAPI CryptUIDlgViewCertificateW(
}
/* Make a local copy in case we have to call WinVerifyTrust ourselves */
memcpy
(
&
viewInfo
,
pCertViewInfo
,
sizeof
(
viewInfo
));
if
(
!
viewInfo
.
u
.
hWVTStateData
)
if
(
!
pCertViewInfo
->
u
.
hWVTStateData
)
{
memset
(
&
wvt
,
0
,
sizeof
(
wvt
));
wvt
.
cbStruct
=
sizeof
(
wvt
);
...
...
@@ -4476,7 +4476,7 @@ BOOL WINAPI CryptUIDlgViewCertificateW(
if
(
ret
)
{
ret
=
show_cert_dialog
(
&
viewInfo
,
provCert
,
pfPropertiesChanged
);
if
(
!
viewInfo
.
u
.
hWVTStateData
)
if
(
!
pCertViewInfo
->
u
.
hWVTStateData
)
{
wvt
.
dwStateAction
=
WTD_STATEACTION_CLOSE
;
WinVerifyTrust
(
NULL
,
&
generic_cert_verify
,
&
wvt
);
...
...
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