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
30fd27e1
Commit
30fd27e1
authored
Dec 06, 2012
by
André Hentschel
Committed by
Alexandre Julliard
Dec 07, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
schannel/tests: Fix test on win8.
parent
d10d989f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
3 deletions
+19
-3
main.c
dlls/schannel/tests/main.c
+15
-3
sspi.h
include/sspi.h
+4
-0
No files found.
dlls/schannel/tests/main.c
View file @
30fd27e1
...
...
@@ -45,6 +45,17 @@
ValidateTargetInfo)
#define SECPKG_FUNCTION_TABLE_SIZE_6 sizeof(SECPKG_FUNCTION_TABLE)
#define LSA_BASE_CAPS ( \
SECPKG_FLAG_INTEGRITY | \
SECPKG_FLAG_PRIVACY | \
SECPKG_FLAG_CONNECTION | \
SECPKG_FLAG_MULTI_REQUIRED | \
SECPKG_FLAG_EXTENDED_ERROR | \
SECPKG_FLAG_IMPERSONATION | \
SECPKG_FLAG_ACCEPT_WIN32_NAME | \
SECPKG_FLAG_STREAM | \
SECPKG_FLAG_MUTUAL_AUTH )
static
NTSTATUS
(
NTAPI
*
pSpLsaModeInitialize
)(
ULONG
,
PULONG
,
PSECPKG_FUNCTION_TABLE
*
,
PULONG
);
static
NTSTATUS
(
NTAPI
*
pSpUserModeInitialize
)(
ULONG
,
PULONG
,
...
...
@@ -179,8 +190,9 @@ static void testGetInfo(void)
/* First package: Unified */
status
=
pTables
->
GetInfo
(
&
PackageInfo
);
ok
(
status
==
STATUS_SUCCESS
,
"status: 0x%x
\n
"
,
status
);
ok
(
PackageInfo
.
fCapabilities
==
0x107b3
,
"fCapabilities: 0x%x
\n
"
,
PackageInfo
.
fCapabilities
);
ok
(
PackageInfo
.
fCapabilities
==
LSA_BASE_CAPS
||
PackageInfo
.
fCapabilities
==
(
LSA_BASE_CAPS
|
SECPKG_FLAG_APPCONTAINER_PASSTHROUGH
),
"fCapabilities: 0x%x
\n
"
,
PackageInfo
.
fCapabilities
);
ok
(
PackageInfo
.
wVersion
==
1
,
"wVersion: %d
\n
"
,
PackageInfo
.
wVersion
);
ok
(
PackageInfo
.
wRPCID
==
14
,
"wRPCID: %d
\n
"
,
PackageInfo
.
wRPCID
);
ok
(
PackageInfo
.
cbMaxToken
==
0x4000
||
...
...
@@ -204,7 +216,7 @@ static void testGetInfo(void)
if
(
status
==
STATUS_SUCCESS
)
{
ok
(
PackageInfo
.
fCapabilities
==
0x107b3
,
"fCapabilities: 0x%x
\n
"
,
ok
(
PackageInfo
.
fCapabilities
==
LSA_BASE_CAPS
,
"fCapabilities: 0x%x
\n
"
,
PackageInfo
.
fCapabilities
);
ok
(
PackageInfo
.
wVersion
==
1
,
"wVersion: %d
\n
"
,
PackageInfo
.
wVersion
);
ok
(
PackageInfo
.
wRPCID
==
14
,
"wRPCID: %d
\n
"
,
PackageInfo
.
wRPCID
);
...
...
include/sspi.h
View file @
30fd27e1
...
...
@@ -131,6 +131,10 @@ typedef struct _SecPkgInfoW
#define SECPKG_FLAG_DELEGATION 0x00020000
#define SECPKG_FLAG_READONLY_WITH_CHECKSUM 0x00040000
#define SECPKG_FLAG_RESTRICTED_TOKENS 0x00080000
#define SECPKG_FLAG_NEGO_EXTENDER 0x00100000
#define SECPKG_FLAG_NEGOTIABLE2 0x00200000
#define SECPKG_FLAG_APPCONTAINER_PASSTHROUGH 0x00400000
#define SECPKG_FLAG_APPCONTAINER_CHECKS 0x00800000
#define SECPKG_ID_NONE 0xffff
...
...
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