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
b34e816f
Commit
b34e816f
authored
Sep 05, 2008
by
Hans Leidekker
Committed by
Alexandre Julliard
Sep 05, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Implement WinHttpQueryOption(WINHTTP_OPTION_SECURITY_FLAGS).
parent
e3a15936
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
session.c
dlls/winhttp/session.c
+20
-1
No files found.
dlls/winhttp/session.c
View file @
b34e816f
...
...
@@ -245,6 +245,25 @@ static void request_destroy( object_header_t *hdr )
heap_free
(
request
);
}
static
BOOL
request_query_option
(
object_header_t
*
hdr
,
DWORD
option
,
LPVOID
buffer
,
LPDWORD
buflen
)
{
switch
(
option
)
{
case
WINHTTP_OPTION_SECURITY_FLAGS
:
{
DWORD
flags
=
0
;
if
(
hdr
->
flags
&
WINHTTP_FLAG_SECURE
)
flags
|=
SECURITY_FLAG_SECURE
;
*
(
DWORD
*
)
buffer
=
flags
;
*
buflen
=
sizeof
(
DWORD
);
return
TRUE
;
}
default:
FIXME
(
"unimplemented option %u
\n
"
,
option
);
return
FALSE
;
}
}
static
BOOL
request_set_option
(
object_header_t
*
hdr
,
DWORD
option
,
LPVOID
buffer
,
DWORD
buflen
)
{
switch
(
option
)
...
...
@@ -289,7 +308,7 @@ static BOOL request_set_option( object_header_t *hdr, DWORD option, LPVOID buffe
static
const
object_vtbl_t
request_vtbl
=
{
request_destroy
,
NULL
,
request_query_option
,
request_set_option
};
...
...
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