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
80545ef9
Commit
80545ef9
authored
Sep 30, 2010
by
Juan Lang
Committed by
Alexandre Julliard
Oct 01, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Secure flag is set in the request, not in the session.
parent
948173b7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
http.c
dlls/wininet/http.c
+1
-2
http.c
dlls/wininet/tests/http.c
+0
-2
No files found.
dlls/wininet/http.c
View file @
80545ef9
...
...
@@ -1690,7 +1690,6 @@ static DWORD HTTPREQ_QueryOption(object_header_t *hdr, DWORD option, void *buffe
case
INTERNET_OPTION_SECURITY_FLAGS
:
{
http_session_t
*
lpwhs
=
req
->
lpHttpSession
;
DWORD
flags
;
int
bits
;
...
...
@@ -1699,7 +1698,7 @@ static DWORD HTTPREQ_QueryOption(object_header_t *hdr, DWORD option, void *buffe
*
size
=
sizeof
(
DWORD
);
flags
=
0
;
if
(
lpwhs
->
hdr
.
dwFlags
&
INTERNET_FLAG_SECURE
)
if
(
req
->
hdr
.
dwFlags
&
INTERNET_FLAG_SECURE
)
flags
|=
SECURITY_FLAG_SECURE
;
flags
|=
req
->
netConnection
.
security_flags
;
bits
=
NETCON_GetCipherStrength
(
&
req
->
netConnection
);
...
...
dlls/wininet/tests/http.c
View file @
80545ef9
...
...
@@ -2598,7 +2598,6 @@ static void test_secure_connection(void)
size
=
sizeof
(
flags
);
ret
=
InternetQueryOption
(
req
,
INTERNET_OPTION_SECURITY_FLAGS
,
&
flags
,
&
size
);
ok
(
ret
,
"InternetQueryOption failed: %d
\n
"
,
GetLastError
());
todo_wine
ok
(
flags
&
SECURITY_FLAG_SECURE
,
"expected secure flag to be set
\n
"
);
ret
=
InternetQueryOptionA
(
req
,
INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT
,
...
...
@@ -2679,7 +2678,6 @@ static void test_secure_connection(void)
size
=
sizeof
(
flags
);
ret
=
InternetQueryOption
(
req
,
INTERNET_OPTION_SECURITY_FLAGS
,
&
flags
,
&
size
);
ok
(
ret
,
"InternetQueryOption failed: %d
\n
"
,
GetLastError
());
todo_wine
ok
(
flags
&
SECURITY_FLAG_SECURE
,
"expected secure flag to be set
\n
"
);
ret
=
InternetQueryOptionA
(
req
,
INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT
,
...
...
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