Commit 8dbc39b4 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

wininet: Properly set flags in InternetSetOption(INTERNET_OPTION_SECURITY_FLAGS).

parent 4c7e9aa9
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment