Module: wine Branch: master Commit: a552a7a9f5b69c4b7fb1bc457c48bcd868bef9e4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a552a7a9f5b69c4b7fb1bc457c...
Author: Hans Leidekker hans@codeweavers.com Date: Thu Oct 13 10:14:16 2011 +0200
cryptnet: Respect proxy settings.
---
dlls/cryptnet/cryptnet_main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/cryptnet/cryptnet_main.c b/dlls/cryptnet/cryptnet_main.c index 6464908..e7f9f46 100644 --- a/dlls/cryptnet/cryptnet_main.c +++ b/dlls/cryptnet/cryptnet_main.c @@ -827,7 +827,7 @@ static BOOL CRYPT_Connect(const URL_COMPONENTSW *components, components->nPort, context, pCredentials, phInt, phInt);
*phHost = NULL; - *phInt = InternetOpenW(NULL, INTERNET_OPEN_TYPE_DIRECT, NULL, NULL, + *phInt = InternetOpenW(NULL, INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, context ? INTERNET_FLAG_ASYNC : 0); if (*phInt) {