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
6848da72
Commit
6848da72
authored
May 21, 2008
by
James Hawkins
Committed by
Alexandre Julliard
May 22, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Fix a few tests that fail in win2k3.
parent
77d259f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
schannel.c
dlls/secur32/tests/schannel.c
+9
-5
No files found.
dlls/secur32/tests/schannel.c
View file @
6848da72
...
...
@@ -221,8 +221,8 @@ static void testAcquireSecurityContext(void)
st
=
pAcquireCredentialsHandleA
(
NULL
,
unisp_name_a
,
SECPKG_CRED_OUTBOUND
,
NULL
,
NULL
,
NULL
,
NULL
,
&
cred
,
&
exp
);
ok
(
st
==
SEC_E_OK
,
"AcquireCredentialsHandleA failed: %08x
\n
"
,
st
);
ok
(
exp
.
HighPart
==
0
&&
exp
.
LowPart
==
0
,
"Expected 0 expiry, got
%08lx%08lx
\n
"
,
exp
.
HighPart
,
exp
.
LowPart
);
/* expriy is indeterminate in win2k3 */
trace
(
"expiry:
%08lx%08lx
\n
"
,
exp
.
HighPart
,
exp
.
LowPart
);
pFreeCredentialsHandle
(
&
cred
);
/* Bad version in SCHANNEL_CRED */
...
...
@@ -351,7 +351,9 @@ static void testAcquireSecurityContext(void)
pFreeCredentialsHandle
(
&
cred
);
st
=
pAcquireCredentialsHandleA
(
NULL
,
unisp_name_a
,
SECPKG_CRED_INBOUND
,
NULL
,
&
schanCred
,
NULL
,
NULL
,
&
cred
,
NULL
);
ok
(
st
==
SEC_E_OK
,
"AcquireCredentialsHandleA failed: %08x
\n
"
,
st
);
ok
(
st
==
SEC_E_OK
||
st
==
SEC_E_UNKNOWN_CREDENTIALS
,
/* win2k3 */
"AcquireCredentialsHandleA failed: %08x
\n
"
,
st
);
pFreeCredentialsHandle
(
&
cred
);
schanCred
.
dwVersion
=
SCHANNEL_CRED_VERSION
;
st
=
pAcquireCredentialsHandleA
(
NULL
,
unisp_name_a
,
SECPKG_CRED_OUTBOUND
,
...
...
@@ -360,8 +362,10 @@ static void testAcquireSecurityContext(void)
pFreeCredentialsHandle
(
&
cred
);
st
=
pAcquireCredentialsHandleA
(
NULL
,
unisp_name_a
,
SECPKG_CRED_INBOUND
,
NULL
,
&
schanCred
,
NULL
,
NULL
,
&
cred
,
NULL
);
ok
(
st
==
SEC_E_OK
,
"AcquireCredentialsHandleA failed: %08x
\n
"
,
st
);
test_strength
(
&
cred
);
ok
(
st
==
SEC_E_OK
||
st
==
SEC_E_UNKNOWN_CREDENTIALS
,
/* win2k3 */
"AcquireCredentialsHandleA failed: %08x
\n
"
,
st
);
if
(
st
==
SEC_E_OK
)
test_strength
(
&
cred
);
pFreeCredentialsHandle
(
&
cred
);
/* How about more than one cert? */
...
...
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