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
d23b0888
Commit
d23b0888
authored
Feb 17, 2011
by
Austin English
Committed by
Alexandre Julliard
Feb 18, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust/tests: Remove win9x hacks.
parent
1dae68e7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
asn.c
dlls/wintrust/tests/asn.c
+2
-2
crypt.c
dlls/wintrust/tests/crypt.c
+3
-6
No files found.
dlls/wintrust/tests/asn.c
View file @
d23b0888
...
...
@@ -150,7 +150,7 @@ static void test_encodeSPCLink(void)
CRYPT_ENCODE_ALLOC_FLAG
,
NULL
,
&
buf
,
&
size
);
ok
(
!
ret
&&
(
GetLastError
()
==
CRYPT_E_INVALID_IA5_STRING
||
GetLastError
()
==
OSS_BAD_PTR
/* Win
9x
*/
),
GetLastError
()
==
OSS_BAD_PTR
/* Win
NT
*/
),
"Expected CRYPT_E_INVALID_IA5_STRING, got %08x
\n
"
,
GetLastError
());
/* Unlike the crypt32 string encoding routines, size is not set to the
* index of the first invalid character.
...
...
@@ -298,7 +298,7 @@ static void test_decodeSPCLink(void)
NULL
,
&
buf
,
&
size
);
ok
(
!
ret
&&
(
GetLastError
()
==
CRYPT_E_BAD_ENCODE
||
GetLastError
()
==
OSS_DATA_ERROR
/* Win
9x
*/
),
GetLastError
()
==
OSS_DATA_ERROR
/* Win
NT
*/
),
"Expected CRYPT_E_BAD_ENCODE, got %08x
\n
"
,
GetLastError
());
}
...
...
dlls/wintrust/tests/crypt.c
View file @
d23b0888
...
...
@@ -893,8 +893,7 @@ static void test_cdf_parsing(void)
catcdf
=
pCryptCATCDFOpen
(
cdffileW
,
cdf_callback
);
ok
(
catcdf
==
NULL
,
"CryptCATCDFOpen succeeded
\n
"
);
todo_wine
ok
(
GetLastError
()
==
ERROR_SHARING_VIOLATION
||
broken
(
GetLastError
()
==
ERROR_SUCCESS
),
/* win9x */
ok
(
GetLastError
()
==
ERROR_SHARING_VIOLATION
,
"Expected ERROR_SHARING_VIOLATION, got %d
\n
"
,
GetLastError
());
DeleteFileA
(
cdffileA
);
...
...
@@ -909,8 +908,7 @@ static void test_cdf_parsing(void)
catcdf
=
pCryptCATCDFOpen
(
cdffileW
,
cdf_callback
);
ok
(
catcdf
==
NULL
,
"CryptCATCDFOpen succeeded
\n
"
);
todo_wine
ok
(
GetLastError
()
==
ERROR_SHARING_VIOLATION
||
broken
(
GetLastError
()
==
ERROR_SUCCESS
),
/* win9x */
ok
(
GetLastError
()
==
ERROR_SHARING_VIOLATION
,
"Expected ERROR_SHARING_VIOLATION, got %d
\n
"
,
GetLastError
());
DeleteFileA
(
cdffileA
);
ok
(
!
DeleteFileA
(
catfileA
),
"Didn't expect a catalog file to be created
\n
"
);
...
...
@@ -925,8 +923,7 @@ static void test_cdf_parsing(void)
catcdf
=
pCryptCATCDFOpen
(
cdffileW
,
cdf_callback
);
ok
(
catcdf
==
NULL
,
"CryptCATCDFOpen succeeded
\n
"
);
todo_wine
ok
(
GetLastError
()
==
ERROR_SHARING_VIOLATION
||
broken
(
GetLastError
()
==
ERROR_SUCCESS
),
/* win9x */
ok
(
GetLastError
()
==
ERROR_SHARING_VIOLATION
,
"Expected ERROR_SHARING_VIOLATION, got %d
\n
"
,
GetLastError
());
DeleteFileA
(
cdffileA
);
ok
(
!
DeleteFileA
(
catfileA
),
"Didn't expect a catalog file to be created
\n
"
);
...
...
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