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
7cd6a6d9
Commit
7cd6a6d9
authored
Oct 07, 2022
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 12, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
schannel/tests: Get rid of workarounds for old Windows versions.
parent
08d0bc64
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
15 deletions
+5
-15
main.c
dlls/schannel/tests/main.c
+5
-15
No files found.
dlls/schannel/tests/main.c
View file @
7cd6a6d9
...
...
@@ -78,26 +78,20 @@ static void testInitialize(void)
/* SpLsaModeInitialize does not care about the LSA version. */
status
=
pSpLsaModeInitialize
(
0
,
&
Version
,
&
pTables2
,
&
cTables
);
ok
(
status
==
STATUS_SUCCESS
,
"status: 0x%lx
\n
"
,
status
);
ok
(
cTables
==
2
||
broken
(
cTables
==
1
),
/* Win2k */
"cTables: %ld
\n
"
,
cTables
);
ok
(
cTables
==
2
,
"cTables: %ld
\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%lx
\n
"
,
status
);
ok
(
cTables
==
2
||
broken
(
cTables
==
1
),
/* Win2k */
"cTables: %ld
\n
"
,
cTables
);
ok
(
cTables
==
2
,
"cTables: %ld
\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%lx
\n
"
,
status
);
ok
(
cTables
==
2
||
broken
(
cTables
==
1
),
/* Win2k */
"cTables: %ld
\n
"
,
cTables
);
ok
(
cTables
==
2
,
"cTables: %ld
\n
"
,
cTables
);
ok
(
pTables
!=
NULL
,
"pTables: %p
\n
"
,
pTables
);
ok
(
pTables
==
pTables2
,
"pTables: %p, pTables2: %p
\n
"
,
pTables
,
pTables2
);
...
...
@@ -124,9 +118,7 @@ static void testInitialize(void)
ok
(
status
==
STATUS_SUCCESS
,
"status: 0x%lx
\n
"
,
status
);
ok
(
Version
==
SECPKG_INTERFACE_VERSION
||
Version
==
SECPKG_INTERFACE_VERSION_2
/* win11 */
,
"Version: 0x%lx
\n
"
,
Version
);
ok
(
cUserTables
==
2
||
broken
(
cUserTables
==
4
),
/* Win2k */
"cUserTables: %ld
\n
"
,
cUserTables
);
ok
(
cUserTables
==
2
,
"cUserTables: %ld
\n
"
,
cUserTables
);
ok
(
pUserTables
!=
NULL
,
"pUserTables: %p
\n
"
,
pUserTables
);
/* Initializing user again */
...
...
@@ -250,9 +242,7 @@ static void testGetInfo(void)
return
;
}
status
=
pTables
->
GetInfo
(
&
PackageInfo
);
ok
(
SUCCEEDED
(
status
)
||
status
==
SEC_E_UNSUPPORTED_FUNCTION
,
/* win2k3 */
"status: 0x%lx
\n
"
,
status
);
ok
(
SUCCEEDED
(
status
),
"status: 0x%lx
\n
"
,
status
);
if
(
SUCCEEDED
(
status
))
{
...
...
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