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
da2e0441
Commit
da2e0441
authored
Mar 14, 2009
by
Nicolas Le Cam
Committed by
Alexandre Julliard
Mar 23, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
schannel/tests: Fix test on Win2k.
parent
5fc19926
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
5 deletions
+18
-5
main.c
dlls/schannel/tests/main.c
+18
-5
No files found.
dlls/schannel/tests/main.c
View file @
da2e0441
...
...
@@ -57,20 +57,26 @@ static void testInitialize(void)
/* SpLsaModeInitialize does not care about the LSA version. */
status
=
pSpLsaModeInitialize
(
0
,
&
Version
,
&
pTables2
,
&
cTables
);
ok
(
status
==
STATUS_SUCCESS
,
"status: 0x%x
\n
"
,
status
);
ok
(
cTables
==
2
,
"cTables: %d
\n
"
,
cTables
);
ok
(
cTables
==
2
||
broken
(
cTables
==
1
),
/* Win2k */
"cTables: %d
\n
"
,
cTables
);
ok
(
pTables2
!=
NULL
,
"pTables: %p
\n
"
,
pTables2
);
/* We can call it as many times we want. */
status
=
pSpLsaModeInitialize
(
0x10000
,
&
Version
,
&
pTables
,
&
cTables
);
ok
(
status
==
STATUS_SUCCESS
,
"status: 0x%x
\n
"
,
status
);
ok
(
cTables
==
2
,
"cTables: %d
\n
"
,
cTables
);
ok
(
cTables
==
2
||
broken
(
cTables
==
1
),
/* Win2k */
"cTables: %d
\n
"
,
cTables
);
ok
(
pTables
!=
NULL
,
"pTables: %p
\n
"
,
pTables
);
/* It will always return the same pointer. */
ok
(
pTables
==
pTables2
,
"pTables: %p, pTables2: %p
\n
"
,
pTables
,
pTables2
);
status
=
pSpLsaModeInitialize
(
0x23456
,
&
Version
,
&
pTables
,
&
cTables
);
ok
(
status
==
STATUS_SUCCESS
,
"status: 0x%x
\n
"
,
status
);
ok
(
cTables
==
2
,
"cTables: %d
\n
"
,
cTables
);
ok
(
cTables
==
2
||
broken
(
cTables
==
1
),
/* Win2k */
"cTables: %d
\n
"
,
cTables
);
ok
(
pTables
!=
NULL
,
"pTables: %p
\n
"
,
pTables
);
ok
(
pTables
==
pTables2
,
"pTables: %p, pTables2: %p
\n
"
,
pTables
,
pTables2
);
...
...
@@ -96,7 +102,9 @@ static void testInitialize(void)
&
pUserTables
,
&
cUserTables
);
ok
(
status
==
STATUS_SUCCESS
,
"status: 0x%x
\n
"
,
status
);
ok
(
Version
==
SECPKG_INTERFACE_VERSION
,
"Version: 0x%x
\n
"
,
Version
);
ok
(
cUserTables
==
2
,
"cUserTables: %d
\n
"
,
cUserTables
);
ok
(
cUserTables
==
2
||
broken
(
cUserTables
==
4
),
/* Win2k */
"cUserTables: %d
\n
"
,
cUserTables
);
ok
(
pUserTables
!=
NULL
,
"pUserTables: %p
\n
"
,
pUserTables
);
/* Initializing user again */
...
...
@@ -153,7 +161,12 @@ static void testGetInfo(void)
"cbMaxToken: 0x%x
\n
"
,
PackageInfo
.
cbMaxToken
);
/* Second package: SChannel */
/* Second package */
if
(
cTables
==
1
)
{
win_skip
(
"Second package missing
\n
"
);
return
;
}
pTables
=
getNextSecPkgTable
(
pTables
,
Version
);
if
(
!
pTables
)
return
;
...
...
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