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
f09b7fa1
Commit
f09b7fa1
authored
Feb 01, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Feb 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cryptui: Set default export format based on whether the private key is to be exported.
parent
bd3c9927
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
main.c
dlls/cryptui/main.c
+16
-1
No files found.
dlls/cryptui/main.c
View file @
f09b7fa1
...
...
@@ -5570,12 +5570,12 @@ static LRESULT CALLBACK export_private_key_dlg_proc(HWND hwnd, UINT msg,
WPARAM
wp
,
LPARAM
lp
)
{
LRESULT
ret
=
0
;
struct
ExportWizData
*
data
;
switch
(
msg
)
{
case
WM_INITDIALOG
:
{
struct
ExportWizData
*
data
;
PROPSHEETPAGEW
*
page
=
(
PROPSHEETPAGEW
*
)
lp
;
data
=
(
struct
ExportWizData
*
)
page
->
lParam
;
...
...
@@ -5595,6 +5595,21 @@ static LRESULT CALLBACK export_private_key_dlg_proc(HWND hwnd, UINT msg,
PSWIZB_BACK
|
PSWIZB_NEXT
);
ret
=
TRUE
;
break
;
case
PSN_WIZNEXT
:
data
=
(
struct
ExportWizData
*
)
GetWindowLongPtrW
(
hwnd
,
DWLP_USER
);
if
(
IsDlgButtonChecked
(
hwnd
,
IDC_EXPORT_PRIVATE_KEY_NO
))
{
data
->
contextInfo
.
dwExportFormat
=
CRYPTUI_WIZ_EXPORT_FORMAT_DER
;
data
->
contextInfo
.
fExportPrivateKeys
=
FALSE
;
}
else
{
data
->
contextInfo
.
dwExportFormat
=
CRYPTUI_WIZ_EXPORT_FORMAT_PFX
;
data
->
contextInfo
.
fExportPrivateKeys
=
TRUE
;
}
break
;
}
break
;
}
...
...
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