[PATCH] winhttp: Accept WINHTTP_OPTION_CONFIGURE_PASSPORT_AUTH as session option

Detlef Riekenberg wine.dev at web.de
Sun Nov 4 16:01:08 CST 2012


Required for the Office 2013 web installer, otherwise the installer
hang and flood the console with:
0025:fixme:winhttp:session_set_option unimplemented option 83

The Installer go a lot further with this stub, even without an
implementation of the passport authentication.

passport auth on msdn:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa384067%28v=vs.85%29.aspx

--
By by ... Detlef
---
 dlls/winhttp/session.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/winhttp/session.c b/dlls/winhttp/session.c
index 8ffcda1..765a3a0 100644
--- a/dlls/winhttp/session.c
+++ b/dlls/winhttp/session.c
@@ -182,6 +182,9 @@ static BOOL session_set_option( object_header_t *hdr, DWORD option, LPVOID buffe
     case WINHTTP_OPTION_RECEIVE_TIMEOUT:
         session->recv_timeout = *(DWORD *)buffer;
         return TRUE;
+    case WINHTTP_OPTION_CONFIGURE_PASSPORT_AUTH:
+        FIXME("WINHTTP_OPTION_CONFIGURE_PASSPORT_AUTH: 0x%x\n", *(DWORD *)buffer);
+        return TRUE;
     default:
         FIXME("unimplemented option %u\n", option);
         set_last_error( ERROR_INVALID_PARAMETER );
-- 
1.7.5.4




More information about the wine-patches mailing list