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
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)
for
(
i
=
0
;
i
<
num_packages
;
++
i
){
trace
(
"%d: Package
\"
%s
\"\n
"
,
i
,
pkg_info
[
i
].
Name
);
trace
(
"Supported flags:
\n
"
);
if
(
pkg_info
[
i
].
fCapabilities
&
SECPKG_FLAG_INTEGRITY
)
trace
(
"
\t
SECPKG_FLAG_INTEGRITY
\n
"
);
if
(
pkg_info
[
i
].
fCapabilities
&
SECPKG_FLAG_PRIVACY
)
trace
(
"
\t
SECPKG_FLAG_PRIVACY
\n
"
);
if
(
pkg_info
[
i
].
fCapabilities
&
SECPKG_FLAG_TOKEN_ONLY
)
trace
(
"
\t
SECPKG_FLAG_TOKEN_ONLY
\n
"
);
if
(
pkg_info
[
i
].
fCapabilities
&
SECPKG_FLAG_DATAGRAM
)
trace
(
"
\t
SECPKG_FLAG_DATAGRAM
\n
"
);
if
(
pkg_info
[
i
].
fCapabilities
&
SECPKG_FLAG_CONNECTION
)
trace
(
"
\t
SECPKG_FLAG_CONNECTION
\n
"
);
if
(
pkg_info
[
i
].
fCapabilities
&
SECPKG_FLAG_MULTI_REQUIRED
)
trace
(
"
\t
SECPKG_FLAG_MULTI_REQUIRED
\n
"
);
if
(
pkg_info
[
i
].
fCapabilities
&
SECPKG_FLAG_CLIENT_ONLY
)
trace
(
"
\t
SECPKG_FLAG_CLIENT_ONLY
\n
"
);
if
(
pkg_info
[
i
].
fCapabilities
&
SECPKG_FLAG_EXTENDED_ERROR
)
trace
(
"
\t
SECPKG_FLAG_EXTENDED_ERROR
\n
"
);
if
(
pkg_info
[
i
].
fCapabilities
&
SECPKG_FLAG_IMPERSONATION
)
trace
(
"
\t
SECPKG_FLAG_IMPERSONATION
\n
"
);
if
(
pkg_info
[
i
].
fCapabilities
&
SECPKG_FLAG_ACCEPT_WIN32_NAME
)
trace
(
"
\t
SECPKG_FLAG_ACCEPT_WIN32_NAME
\n
"
);
if
(
pkg_info
[
i
].
fCapabilities
&
SECPKG_FLAG_STREAM
)
trace
(
"
\t
SECPKG_FLAG_STREAM
\n
"
);
if
(
pkg_info
[
i
].
fCapabilities
&
SECPKG_FLAG_READONLY_WITH_CHECKSUM
)
trace
(
"
\t
SECPKG_FLAG_READONLY_WITH_CHECKSUM
\n
"
);
#define X(flag) \
if(pkg_info[i].fCapabilities & flag) \
trace("\t" #flag "\n")
X
(
SECPKG_FLAG_INTEGRITY
);
X
(
SECPKG_FLAG_PRIVACY
);
X
(
SECPKG_FLAG_TOKEN_ONLY
);
X
(
SECPKG_FLAG_DATAGRAM
);
X
(
SECPKG_FLAG_CONNECTION
);
X
(
SECPKG_FLAG_MULTI_REQUIRED
);
X
(
SECPKG_FLAG_CLIENT_ONLY
);
X
(
SECPKG_FLAG_EXTENDED_ERROR
);
X
(
SECPKG_FLAG_IMPERSONATION
);
X
(
SECPKG_FLAG_ACCEPT_WIN32_NAME
);
X
(
SECPKG_FLAG_STREAM
);
X
(
SECPKG_FLAG_NEGOTIABLE
);
X
(
SECPKG_FLAG_GSS_COMPATIBLE
);
X
(
SECPKG_FLAG_LOGON
);
X
(
SECPKG_FLAG_ASCII_BUFFERS
);
X
(
SECPKG_FLAG_FRAGMENT
);
X
(
SECPKG_FLAG_MUTUAL_AUTH
);
X
(
SECPKG_FLAG_DELEGATION
);
X
(
SECPKG_FLAG_READONLY_WITH_CHECKSUM
);
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
(
"
\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