winhttp: Prefer builtin over native.

Hans Leidekker hans at codeweavers.com
Thu Nov 20 07:50:58 CST 2008


winhttp is substantially implemented now and native winhttp (which
some apps appear to bundle) does not provide ssl support because of
incomplete builtin schannel.

See http://bugs.winehq.org/show_bug.cgi?id=14824

 -Hans

diff --git a/dlls/winhttp/main.c b/dlls/winhttp/main.c
index 1a4a131..c0ac9cb 100644
--- a/dlls/winhttp/main.c
+++ b/dlls/winhttp/main.c
@@ -38,8 +38,6 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
 {
     switch(fdwReason)
     {
-    case DLL_WINE_PREATTACH:
-        return FALSE;  /* prefer native version */
     case DLL_PROCESS_ATTACH:
         DisableThreadLibraryCalls(hInstDLL);
         break;



More information about the wine-patches mailing list