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
e8d54db7
Commit
e8d54db7
authored
Sep 30, 2015
by
Aric Stewart
Committed by
Alexandre Julliard
Oct 01, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32/tests: Handle skip cleanup in negotiate more cleanly.
Signed-off-by:
Aric Stewart
<
aric@codeweavers.com
>
parent
af6413aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
8 deletions
+23
-8
negotiate.c
dlls/secur32/tests/negotiate.c
+23
-8
No files found.
dlls/secur32/tests/negotiate.c
View file @
e8d54db7
...
@@ -262,6 +262,9 @@ static void test_authentication(void)
...
@@ -262,6 +262,9 @@ static void test_authentication(void)
SecPkgInfoA
*
pi
;
SecPkgInfoA
*
pi
;
BOOL
first
=
TRUE
;
BOOL
first
=
TRUE
;
memset
(
&
client
,
0
,
sizeof
(
client
));
memset
(
&
server
,
0
,
sizeof
(
server
));
id
.
User
=
(
unsigned
char
*
)
"user"
;
id
.
User
=
(
unsigned
char
*
)
"user"
;
id
.
UserLength
=
strlen
(
"user"
);
id
.
UserLength
=
strlen
(
"user"
);
id
.
Domain
=
(
unsigned
char
*
)
"domain"
;
id
.
Domain
=
(
unsigned
char
*
)
"domain"
;
...
@@ -342,17 +345,29 @@ done:
...
@@ -342,17 +345,29 @@ done:
cleanup_buffers
(
&
client
);
cleanup_buffers
(
&
client
);
cleanup_buffers
(
&
server
);
cleanup_buffers
(
&
server
);
status_c
=
pDeleteSecurityContext
(
&
client
.
ctxt
);
if
(
client
.
ctxt
.
dwLower
||
client
.
ctxt
.
dwUpper
)
ok
(
status_c
==
SEC_E_OK
,
"DeleteSecurityContext returned %08x
\n
"
,
status_c
);
{
status_c
=
pDeleteSecurityContext
(
&
client
.
ctxt
);
ok
(
status_c
==
SEC_E_OK
,
"DeleteSecurityContext returned %08x
\n
"
,
status_c
);
}
status_s
=
pDeleteSecurityContext
(
&
server
.
ctxt
);
if
(
server
.
ctxt
.
dwLower
||
server
.
ctxt
.
dwUpper
)
ok
(
status_s
==
SEC_E_OK
,
"DeleteSecurityContext returned %08x
\n
"
,
status_s
);
{
status_s
=
pDeleteSecurityContext
(
&
server
.
ctxt
);
ok
(
status_s
==
SEC_E_OK
,
"DeleteSecurityContext returned %08x
\n
"
,
status_s
);
}
status_c
=
pFreeCredentialsHandle
(
&
client
.
cred
);
if
(
client
.
cred
.
dwLower
||
client
.
cred
.
dwUpper
)
ok
(
status_c
==
SEC_E_OK
,
"FreeCredentialsHandle returned %08x
\n
"
,
status_c
);
{
status_c
=
pFreeCredentialsHandle
(
&
client
.
cred
);
ok
(
status_c
==
SEC_E_OK
,
"FreeCredentialsHandle returned %08x
\n
"
,
status_c
);
}
status_s
=
pFreeCredentialsHandle
(
&
server
.
cred
);
if
(
server
.
cred
.
dwLower
||
server
.
cred
.
dwUpper
)
ok
(
status_s
==
SEC_E_OK
,
"FreeCredentialsHandle returned %08x
\n
"
,
status_s
);
{
status_s
=
pFreeCredentialsHandle
(
&
server
.
cred
);
ok
(
status_s
==
SEC_E_OK
,
"FreeCredentialsHandle returned %08x
\n
"
,
status_s
);
}
}
}
START_TEST
(
negotiate
)
START_TEST
(
negotiate
)
...
...
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