projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e69394
)
Uses __stdcall instead of SEC_ENTRY since it seems (at least) mingw doesn't
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 20 Sep 2005 08:29:56 +0000
(08:29 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 20 Sep 2005 08:29:56 +0000
(08:29 +0000)
define SEC_ENTRY and thus fails unless this is done!
lib/http_ntlm.c
patch
|
blob
|
history
diff --git
a/lib/http_ntlm.c
b/lib/http_ntlm.c
index
e6935e6
..
365eab1
100644
(file)
--- a/
lib/http_ntlm.c
+++ b/
lib/http_ntlm.c
@@
-454,7
+454,7
@@
CURLcode Curl_output_ntlm(struct connectdata *conn,
if (status == SEC_I_COMPLETE_AND_CONTINUE ||
status == SEC_I_CONTINUE_NEEDED) {
/* CompleteAuthToken() is not present in Win9x, so load it dynamically */
- SECURITY_STATUS (
SEC_ENTRY
* pCompleteAuthToken)
+ SECURITY_STATUS (
__stdcall
* pCompleteAuthToken)
(PCtxtHandle,PSecBufferDesc);
HMODULE hSecur32 = GetModuleHandle("secur32.dll");
if (hSecur32 != NULL) {