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
caa64b4d
Commit
caa64b4d
authored
Oct 24, 2008
by
Juan Lang
Committed by
Alexandre Julliard
Oct 27, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cryptui: Improve parameter checking.
parent
7e0e1a1f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
main.c
dlls/cryptui/main.c
+2
-1
cryptui.c
dlls/cryptui/tests/cryptui.c
+0
-1
No files found.
dlls/cryptui/main.c
View file @
caa64b4d
...
...
@@ -117,7 +117,8 @@ BOOL WINAPI CryptUIWizImport(DWORD dwFlags, HWND hwndParent, LPCWSTR pwszWizardT
if
(
!
(
dwFlags
&
CRYPTUI_WIZ_NO_UI
))
FIXME
(
"UI not implemented
\n
"
);
if
(
!
pImportSrc
)
if
(
!
pImportSrc
||
pImportSrc
->
dwSize
!=
sizeof
(
CRYPTUI_WIZ_IMPORT_SRC_INFO
))
{
SetLastError
(
E_INVALIDARG
);
return
FALSE
;
...
...
dlls/cryptui/tests/cryptui.c
View file @
caa64b4d
...
...
@@ -197,7 +197,6 @@ static void test_crypt_ui_wiz_import(void)
memset
(
&
info
,
0
,
sizeof
(
info
));
SetLastError
(
0xdeadbeef
);
ret
=
pCryptUIWizImport
(
CRYPTUI_WIZ_NO_UI
,
0
,
NULL
,
&
info
,
NULL
);
todo_wine
ok
(
!
ret
&&
GetLastError
()
==
E_INVALIDARG
,
"expected E_INVALIDARG, got %08x
\n
"
,
GetLastError
());
info
.
dwSize
=
sizeof
(
info
);
...
...
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