From b4851a8e4a8645c8f2695164b498061d392869af Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Wed, 29 Sep 2010 09:22:26 -0700 Subject: [PATCH] winhttp: More completely implement querying WINHTTP_OPTION_SECURITY_FLAGS. --- dlls/winhttp/session.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/winhttp/session.c b/dlls/winhttp/session.c index e0c1c2fed9f..bed19a1560c 100644 --- a/dlls/winhttp/session.c +++ b/dlls/winhttp/session.c @@ -590,6 +590,8 @@ static BOOL request_query_option( object_header_t *hdr, DWORD option, LPVOID buf flags = 0; if (hdr->flags & WINHTTP_FLAG_SECURE) flags |= SECURITY_FLAG_SECURE; + flags |= request->netconn.security_flags; + /* FIXME: set connection cipher strength (SECURITY_FLAG_STRENGTH_*) */ *(DWORD *)buffer = flags; *buflen = sizeof(flags); return TRUE;