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
4d1fa583
Commit
4d1fa583
authored
Dec 16, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Dec 16, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4/tests: Don't crash on NT4.
parent
e4897a82
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
server.c
dlls/rpcrt4/tests/server.c
+6
-1
No files found.
dlls/rpcrt4/tests/server.c
View file @
4d1fa583
...
...
@@ -1346,7 +1346,7 @@ s_authinfo_test(unsigned int protseq, int secure)
todo_wine
ok
(
principal
!=
NULL
,
"NULL principal
\n
"
);
}
if
(
protseq
==
RPC_PROTSEQ_LRPC
&&
principal
)
if
(
protseq
==
RPC_PROTSEQ_LRPC
&&
principal
&&
pGetUserNameExA
)
{
int
len
;
char
*
spn
;
...
...
@@ -1399,6 +1399,9 @@ set_auth_info(RPC_BINDING_HANDLE handle)
RPC_STATUS
status
;
RPC_SECURITY_QOS
qos
;
if
(
!
pGetUserNameExA
)
return
;
qos
.
Version
=
1
;
qos
.
Capabilities
=
RPC_C_QOS_CAPABILITIES_MUTUAL_AUTH
;
qos
.
IdentityTracking
=
RPC_C_QOS_IDENTITY_STATIC
;
...
...
@@ -1573,6 +1576,8 @@ START_TEST(server)
domain_and_user
=
HeapAlloc
(
GetProcessHeap
(),
0
,
size
);
ok
(
pGetUserNameExA
(
NameSamCompatible
,
domain_and_user
,
&
size
),
"GetUserNameExA
\n
"
);
}
else
win_skip
(
"GetUserNameExA is needed for some authentication tests
\n
"
);
argc
=
winetest_get_mainargs
(
&
argv
);
progname
=
argv
[
0
];
...
...
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