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
8dbc39b4
Commit
8dbc39b4
authored
Jun 06, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 06, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Properly set flags in InternetSetOption(INTERNET_OPTION_SECURITY_FLAGS).
parent
4c7e9aa9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
http.c
dlls/wininet/http.c
+4
-3
No files found.
dlls/wininet/http.c
View file @
8dbc39b4
...
...
@@ -2197,10 +2197,11 @@ static DWORD HTTPREQ_SetOption(object_header_t *hdr, DWORD option, void *buffer,
if
(
!
buffer
||
size
!=
sizeof
(
DWORD
))
return
ERROR_INVALID_PARAMETER
;
flags
=
*
(
DWORD
*
)
buffer
;
TRACE
(
"%08x
\n
"
,
flags
);
req
->
security_flags
=
flags
;
TRACE
(
"INTERNET_OPTION_SECURITY_FLAGS %08x
\n
"
,
flags
);
flags
&=
SECURITY_SET_MASK
;
req
->
security_flags
|=
flags
;
if
(
req
->
netconn
)
req
->
netconn
->
security_flags
=
flags
;
req
->
netconn
->
security_flags
|
=
flags
;
return
ERROR_SUCCESS
;
}
case
INTERNET_OPTION_CONNECT_TIMEOUT
:
...
...
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