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
c02ee188
Commit
c02ee188
authored
Dec 11, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Dec 14, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp/tests: Skip secure connection tests if the request fails.
parent
72025026
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
winhttp.c
dlls/winhttp/tests/winhttp.c
+6
-0
No files found.
dlls/winhttp/tests/winhttp.c
View file @
c02ee188
...
...
@@ -783,6 +783,11 @@ static void test_secure_connection(void)
ret
=
WinHttpSendRequest
(
req
,
NULL
,
0
,
NULL
,
0
,
0
,
0
);
ok
(
ret
,
"failed to send request %u
\n
"
,
GetLastError
());
if
(
!
ret
)
{
skip
(
"secure connection failed, skipping remaining secure tests
\n
"
);
goto
cleanup
;
}
size
=
sizeof
(
cert
);
ret
=
WinHttpQueryOption
(
req
,
WINHTTP_OPTION_SERVER_CERT_CONTEXT
,
&
cert
,
&
size
);
...
...
@@ -806,6 +811,7 @@ static void test_secure_connection(void)
ret
=
WinHttpQueryHeaders
(
req
,
WINHTTP_QUERY_RAW_HEADERS_CRLF
,
NULL
,
NULL
,
&
size
,
NULL
);
ok
(
!
ret
,
"succeeded unexpectedly
\n
"
);
cleanup:
WinHttpCloseHandle
(
req
);
WinHttpCloseHandle
(
con
);
WinHttpCloseHandle
(
ses
);
...
...
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