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
4490de35
Commit
4490de35
authored
Sep 02, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Sep 03, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Fix a few test failures in win9x.
parent
05499a41
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
store.c
dlls/crypt32/tests/store.c
+9
-3
No files found.
dlls/crypt32/tests/store.c
View file @
4490de35
...
...
@@ -830,7 +830,9 @@ static void testRegStore(void)
if
(
context
)
certCount
++
;
}
while
(
context
!=
NULL
);
ok
(
certCount
==
1
,
"Expected 1 certificates, got %d
\n
"
,
certCount
);
ok
(
certCount
==
1
||
broken
(
certCount
==
2
),
/* win9x */
"Expected 1 certificates, got %d
\n
"
,
certCount
);
/* Try again with the correct hash... */
ptr
=
buf
+
sizeof
(
*
hdr
);
...
...
@@ -1029,7 +1031,9 @@ static void testSystemStore(void)
/* Check opening a bogus store */
store
=
CertOpenStore
(
CERT_STORE_PROV_SYSTEM
,
0
,
0
,
CERT_SYSTEM_STORE_CURRENT_USER
|
CERT_STORE_OPEN_EXISTING_FLAG
,
BogusW
);
ok
(
!
store
&&
GetLastError
()
==
ERROR_FILE_NOT_FOUND
,
ok
((
!
store
||
broken
(
store
!=
0
))
&&
/* win9x */
GetLastError
()
==
ERROR_FILE_NOT_FOUND
,
"Expected ERROR_FILE_NOT_FOUND, got %08x
\n
"
,
GetLastError
());
store
=
CertOpenStore
(
CERT_STORE_PROV_SYSTEM
,
0
,
0
,
CERT_SYSTEM_STORE_CURRENT_USER
,
BogusW
);
...
...
@@ -1544,7 +1548,9 @@ static void testMessageStore(void)
blob
.
pbData
=
(
LPBYTE
)
hashBareContent
;
SetLastError
(
0xdeadbeef
);
store
=
CertOpenStore
(
CERT_STORE_PROV_PKCS7
,
0
,
0
,
0
,
&
blob
);
ok
(
!
store
&&
GetLastError
()
==
CRYPT_E_ASN1_BADTAG
,
ok
(
!
store
&&
(
GetLastError
()
==
CRYPT_E_ASN1_BADTAG
||
GetLastError
()
==
OSS_DATA_ERROR
),
/* win9x */
"Expected CRYPT_E_ASN1_BADTAG, got %08x
\n
"
,
GetLastError
());
}
...
...
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