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
03f04e15
Commit
03f04e15
authored
Feb 17, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Feb 17, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust/tests: Fix typos in ok() strings.
parent
4386a827
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
crypt.c
dlls/wintrust/tests/crypt.c
+3
-3
No files found.
dlls/wintrust/tests/crypt.c
View file @
03f04e15
...
...
@@ -469,13 +469,13 @@ static void test_CryptCATAdminAddRemoveCatalog(void)
hcatinfo
=
pCryptCATAdminAddCatalog
(
NULL
,
NULL
,
NULL
,
0
);
error
=
GetLastError
();
ok
(
hcatinfo
==
NULL
,
"CryptCATAdminAddCatalog succeeded
\n
"
);
ok
(
error
==
ERROR_INVALID_PARAMETER
,
"got %u expected ERROR_INVALID_PARAMTER
\n
"
,
GetLastError
());
ok
(
error
==
ERROR_INVALID_PARAMETER
,
"got %u expected ERROR_INVALID_PARAM
E
TER
\n
"
,
GetLastError
());
SetLastError
(
0xdeadbeef
);
hcatinfo
=
pCryptCATAdminAddCatalog
(
hcatadmin
,
NULL
,
NULL
,
0
);
error
=
GetLastError
();
ok
(
hcatinfo
==
NULL
,
"CryptCATAdminAddCatalog succeeded
\n
"
);
ok
(
error
==
ERROR_INVALID_PARAMETER
,
"got %u expected
INVALID_PARAM
TER
\n
"
,
GetLastError
());
ok
(
error
==
ERROR_INVALID_PARAMETER
,
"got %u expected
ERROR_INVALID_PARAME
TER
\n
"
,
GetLastError
());
MultiByteToWideChar
(
0
,
0
,
tmpfile
,
-
1
,
tmpfileW
,
MAX_PATH
);
...
...
@@ -491,7 +491,7 @@ static void test_CryptCATAdminAddRemoveCatalog(void)
hcatinfo
=
pCryptCATAdminAddCatalog
(
hcatadmin
,
tmpfileW
,
basenameW
,
1
);
error
=
GetLastError
();
ok
(
hcatinfo
==
NULL
,
"CryptCATAdminAddCatalog succeeded
\n
"
);
ok
(
error
==
ERROR_INVALID_PARAMETER
,
"got %u expected ERROR_INVALID_PARAMTER
\n
"
,
GetLastError
());
ok
(
error
==
ERROR_INVALID_PARAMETER
,
"got %u expected ERROR_INVALID_PARAM
E
TER
\n
"
,
GetLastError
());
SetLastError
(
0xdeadbeef
);
hcatinfo
=
pCryptCATAdminAddCatalog
(
hcatadmin
,
tmpfileW
,
NULL
,
0
);
...
...
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