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
599b19a8
Commit
599b19a8
authored
Apr 18, 2016
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32/tests: Added missing flags handling to testEnumerateSecurityPackages.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9d725b17
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
24 deletions
+29
-24
main.c
dlls/secur32/tests/main.c
+29
-24
No files found.
dlls/secur32/tests/main.c
View file @
599b19a8
...
@@ -162,30 +162,35 @@ static void testEnumerateSecurityPackages(void)
...
@@ -162,30 +162,35 @@ static void testEnumerateSecurityPackages(void)
for
(
i
=
0
;
i
<
num_packages
;
++
i
){
for
(
i
=
0
;
i
<
num_packages
;
++
i
){
trace
(
"%d: Package
\"
%s
\"\n
"
,
i
,
pkg_info
[
i
].
Name
);
trace
(
"%d: Package
\"
%s
\"\n
"
,
i
,
pkg_info
[
i
].
Name
);
trace
(
"Supported flags:
\n
"
);
trace
(
"Supported flags:
\n
"
);
if
(
pkg_info
[
i
].
fCapabilities
&
SECPKG_FLAG_INTEGRITY
)
#define X(flag) \
trace
(
"
\t
SECPKG_FLAG_INTEGRITY
\n
"
);
if(pkg_info[i].fCapabilities & flag) \
if
(
pkg_info
[
i
].
fCapabilities
&
SECPKG_FLAG_PRIVACY
)
trace("\t" #flag "\n")
trace
(
"
\t
SECPKG_FLAG_PRIVACY
\n
"
);
if
(
pkg_info
[
i
].
fCapabilities
&
SECPKG_FLAG_TOKEN_ONLY
)
X
(
SECPKG_FLAG_INTEGRITY
);
trace
(
"
\t
SECPKG_FLAG_TOKEN_ONLY
\n
"
);
X
(
SECPKG_FLAG_PRIVACY
);
if
(
pkg_info
[
i
].
fCapabilities
&
SECPKG_FLAG_DATAGRAM
)
X
(
SECPKG_FLAG_TOKEN_ONLY
);
trace
(
"
\t
SECPKG_FLAG_DATAGRAM
\n
"
);
X
(
SECPKG_FLAG_DATAGRAM
);
if
(
pkg_info
[
i
].
fCapabilities
&
SECPKG_FLAG_CONNECTION
)
X
(
SECPKG_FLAG_CONNECTION
);
trace
(
"
\t
SECPKG_FLAG_CONNECTION
\n
"
);
X
(
SECPKG_FLAG_MULTI_REQUIRED
);
if
(
pkg_info
[
i
].
fCapabilities
&
SECPKG_FLAG_MULTI_REQUIRED
)
X
(
SECPKG_FLAG_CLIENT_ONLY
);
trace
(
"
\t
SECPKG_FLAG_MULTI_REQUIRED
\n
"
);
X
(
SECPKG_FLAG_EXTENDED_ERROR
);
if
(
pkg_info
[
i
].
fCapabilities
&
SECPKG_FLAG_CLIENT_ONLY
)
X
(
SECPKG_FLAG_IMPERSONATION
);
trace
(
"
\t
SECPKG_FLAG_CLIENT_ONLY
\n
"
);
X
(
SECPKG_FLAG_ACCEPT_WIN32_NAME
);
if
(
pkg_info
[
i
].
fCapabilities
&
SECPKG_FLAG_EXTENDED_ERROR
)
X
(
SECPKG_FLAG_STREAM
);
trace
(
"
\t
SECPKG_FLAG_EXTENDED_ERROR
\n
"
);
X
(
SECPKG_FLAG_NEGOTIABLE
);
if
(
pkg_info
[
i
].
fCapabilities
&
SECPKG_FLAG_IMPERSONATION
)
X
(
SECPKG_FLAG_GSS_COMPATIBLE
);
trace
(
"
\t
SECPKG_FLAG_IMPERSONATION
\n
"
);
X
(
SECPKG_FLAG_LOGON
);
if
(
pkg_info
[
i
].
fCapabilities
&
SECPKG_FLAG_ACCEPT_WIN32_NAME
)
X
(
SECPKG_FLAG_ASCII_BUFFERS
);
trace
(
"
\t
SECPKG_FLAG_ACCEPT_WIN32_NAME
\n
"
);
X
(
SECPKG_FLAG_FRAGMENT
);
if
(
pkg_info
[
i
].
fCapabilities
&
SECPKG_FLAG_STREAM
)
X
(
SECPKG_FLAG_MUTUAL_AUTH
);
trace
(
"
\t
SECPKG_FLAG_STREAM
\n
"
);
X
(
SECPKG_FLAG_DELEGATION
);
if
(
pkg_info
[
i
].
fCapabilities
&
SECPKG_FLAG_READONLY_WITH_CHECKSUM
)
X
(
SECPKG_FLAG_READONLY_WITH_CHECKSUM
);
trace
(
"
\t
SECPKG_FLAG_READONLY_WITH_CHECKSUM
\n
"
);
X
(
SECPKG_FLAG_RESTRICTED_TOKENS
);
X
(
SECPKG_FLAG_NEGO_EXTENDER
);
X
(
SECPKG_FLAG_NEGOTIABLE2
);
X
(
SECPKG_FLAG_APPCONTAINER_PASSTHROUGH
);
X
(
SECPKG_FLAG_APPCONTAINER_CHECKS
);
#undef X
trace
(
"Comment: %s
\n
"
,
pkg_info
[
i
].
Comment
);
trace
(
"Comment: %s
\n
"
,
pkg_info
[
i
].
Comment
);
trace
(
"
\n
"
);
trace
(
"
\n
"
);
}
}
...
...
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