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
2d2e718b
Commit
2d2e718b
authored
Feb 11, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Feb 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Fix a couple test failures on some Windows 98 systems.
parent
b972a5d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
oid.c
dlls/crypt32/tests/oid.c
+6
-3
No files found.
dlls/crypt32/tests/oid.c
View file @
2d2e718b
...
...
@@ -221,7 +221,8 @@ static void test_oidFunctionSet(void)
ret
=
CryptGetOIDFunctionAddress
(
set1
,
X509_ASN_ENCODING
,
X509_CERT
,
0
,
&
funcAddr
,
&
hFuncAddr
);
ok
(
!
ret
&&
GetLastError
()
==
ERROR_FILE_NOT_FOUND
,
ok
((
!
ret
&&
GetLastError
()
==
ERROR_FILE_NOT_FOUND
)
||
broken
(
ret
)
/* some Win98 */
,
"Expected ERROR_FILE_NOT_FOUND, got %08x
\n
"
,
GetLastError
());
}
}
...
...
@@ -273,8 +274,10 @@ static void test_installOIDFunctionAddress(void)
*/
ret
=
CryptGetOIDFunctionAddress
(
set
,
X509_ASN_ENCODING
,
0
,
0
,
(
void
**
)
&
funcAddr
,
&
hFuncAddr
);
ok
(
!
ret
&&
GetLastError
()
==
ERROR_FILE_NOT_FOUND
,
"Expected ERROR_FILE_NOT_FOUND, got %d
\n
"
,
GetLastError
());
ok
(
!
ret
&&
(
GetLastError
()
==
ERROR_FILE_NOT_FOUND
||
GetLastError
()
==
E_INVALIDARG
/* some Win98 */
),
"Expected ERROR_FILE_NOT_FOUND or E_INVALIDARG, got %d
\n
"
,
GetLastError
());
ret
=
CryptGetOIDFunctionAddress
(
set
,
X509_ASN_ENCODING
,
X509_CERT
,
0
,
(
void
**
)
&
funcAddr
,
&
hFuncAddr
);
ok
(
!
ret
&&
GetLastError
()
==
ERROR_FILE_NOT_FOUND
,
...
...
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