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
a6d5f7df
Commit
a6d5f7df
authored
Nov 02, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 03, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cryptui: Fix compilation on systems that don't support nameless unions.
parent
376adf94
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
main.c
dlls/cryptui/main.c
+4
-2
No files found.
dlls/cryptui/main.c
View file @
a6d5f7df
...
...
@@ -20,6 +20,8 @@
#include <stdarg.h>
#define NONAMELESSUNION
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
...
...
@@ -220,7 +222,7 @@ BOOL WINAPI CryptUIWizImport(DWORD dwFlags, HWND hwndParent, LPCWSTR pwszWizardT
switch
(
pImportSrc
->
dwSubjectChoice
)
{
case
CRYPTUI_WIZ_IMPORT_SUBJECT_FILE
:
if
(
!
(
cert
=
make_cert_from_file
(
pImportSrc
->
pwszFileName
)))
if
(
!
(
cert
=
make_cert_from_file
(
pImportSrc
->
u
.
pwszFileName
)))
{
WARN
(
"unable to create certificate context
\n
"
);
return
FALSE
;
...
...
@@ -229,7 +231,7 @@ BOOL WINAPI CryptUIWizImport(DWORD dwFlags, HWND hwndParent, LPCWSTR pwszWizardT
freeCert
=
TRUE
;
break
;
case
CRYPTUI_WIZ_IMPORT_SUBJECT_CERT_CONTEXT
:
cert
=
pImportSrc
->
pCertContext
;
cert
=
pImportSrc
->
u
.
pCertContext
;
if
(
!
cert
)
{
SetLastError
(
E_INVALIDARG
);
...
...
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