winhttp: More completely implement querying WINHTTP_OPTION_SECURITY_FLAGS.

This commit is contained in:
Juan Lang 2010-09-29 09:22:26 -07:00 committed by Alexandre Julliard
parent ee2e9cc339
commit b4851a8e4a

View File

@ -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;