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
53955c57
Commit
53955c57
authored
Jan 24, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Jan 27, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cryptui: Always initialize export wizard's export options.
parent
5775edd8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
main.c
dlls/cryptui/main.c
+5
-7
No files found.
dlls/cryptui/main.c
View file @
53955c57
...
@@ -6268,18 +6268,16 @@ static BOOL show_export_ui(DWORD dwFlags, HWND hwndParent,
...
@@ -6268,18 +6268,16 @@ static BOOL show_export_ui(DWORD dwFlags, HWND hwndParent,
data
.
dwFlags
=
dwFlags
;
data
.
dwFlags
=
dwFlags
;
data
.
pwszWizardTitle
=
pwszWizardTitle
;
data
.
pwszWizardTitle
=
pwszWizardTitle
;
data
.
pExportInfo
=
pExportInfo
;
data
.
pExportInfo
=
pExportInfo
;
data
.
contextInfo
.
dwSize
=
sizeof
(
data
.
contextInfo
);
data
.
contextInfo
.
dwExportFormat
=
0
;
data
.
contextInfo
.
fExportChain
=
FALSE
;
data
.
contextInfo
.
fStrongEncryption
=
FALSE
;
data
.
contextInfo
.
fExportPrivateKeys
=
FALSE
;
if
(
pExportInfo
->
dwSubjectChoice
==
CRYPTUI_WIZ_EXPORT_CERT_CONTEXT
&&
if
(
pExportInfo
->
dwSubjectChoice
==
CRYPTUI_WIZ_EXPORT_CERT_CONTEXT
&&
pvoid
)
pvoid
)
memcpy
(
&
data
.
contextInfo
,
pvoid
,
memcpy
(
&
data
.
contextInfo
,
pvoid
,
min
(((
PCCRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO
)
pvoid
)
->
dwSize
,
min
(((
PCCRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO
)
pvoid
)
->
dwSize
,
sizeof
(
data
.
contextInfo
)));
sizeof
(
data
.
contextInfo
)));
else
{
data
.
contextInfo
.
dwExportFormat
=
0
;
data
.
contextInfo
.
fExportChain
=
FALSE
;
data
.
contextInfo
.
fStrongEncryption
=
FALSE
;
data
.
contextInfo
.
fExportPrivateKeys
=
FALSE
;
}
data
.
fileName
=
NULL
;
data
.
fileName
=
NULL
;
data
.
file
=
INVALID_HANDLE_VALUE
;
data
.
file
=
INVALID_HANDLE_VALUE
;
data
.
success
=
FALSE
;
data
.
success
=
FALSE
;
...
...
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