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
b9ae777d
Commit
b9ae777d
authored
Feb 03, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Feb 04, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Fix a handful of test failures on Win9x.
parent
486e66ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
secur32.c
dlls/secur32/tests/secur32.c
+9
-3
No files found.
dlls/secur32/tests/secur32.c
View file @
b9ae777d
...
@@ -102,9 +102,15 @@ static void test_InitSecurityInterface(void)
...
@@ -102,9 +102,15 @@ static void test_InitSecurityInterface(void)
sftA
=
pInitSecurityInterfaceA
();
sftA
=
pInitSecurityInterfaceA
();
ok
(
sftA
!=
NULL
,
"pInitSecurityInterfaceA failed
\n
"
);
ok
(
sftA
!=
NULL
,
"pInitSecurityInterfaceA failed
\n
"
);
ok
(
sftA
->
dwVersion
==
SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION
,
"wrong dwVersion %d in security function table
\n
"
,
sftA
->
dwVersion
);
ok
(
sftA
->
dwVersion
==
SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION
,
"wrong dwVersion %d in security function table
\n
"
,
sftA
->
dwVersion
);
ok
(
!
sftA
->
Reserved2
,
"Reserved2 should be NULL instead of %p in security function table
\n
"
,
sftA
->
Reserved2
);
ok
(
!
sftA
->
Reserved2
||
broken
(
sftA
->
Reserved2
!=
NULL
)
/* WinME */
,
ok
(
sftA
->
Reserved3
==
sftA
->
EncryptMessage
,
"Reserved3 should be equal to EncryptMessage in the security function table
\n
"
);
"Reserved2 should be NULL instead of %p in security function table
\n
"
,
ok
(
sftA
->
Reserved4
==
sftA
->
DecryptMessage
,
"Reserved4 should be equal to DecryptMessage in the security function table
\n
"
);
sftA
->
Reserved2
);
ok
(
sftA
->
Reserved3
==
sftA
->
EncryptMessage
||
broken
(
sftA
->
Reserved3
!=
sftA
->
EncryptMessage
)
/* Win9x */
,
"Reserved3 should be equal to EncryptMessage in the security function table
\n
"
);
ok
(
sftA
->
Reserved4
==
sftA
->
DecryptMessage
||
broken
(
sftA
->
Reserved4
!=
sftA
->
DecryptMessage
)
/* Win9x */
,
"Reserved4 should be equal to DecryptMessage in the security function table
\n
"
);
if
(
!
pInitSecurityInterfaceW
)
if
(
!
pInitSecurityInterfaceW
)
{
{
...
...
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