Hi Daniel, 2012/6/27 Daniel Stenberg <[email protected]>: > On Wed, 27 Jun 2012, Marc Hoersken wrote: > >> ../.././lib/sslgen.c:196:3: error: #error "SSL backend lacks definition >> for curlssl_random" >> >> The fix would be to either check for SSPI there or make the Schannel >> backend provide empty declarations or even real implementations of these. > > > Like this? > > From eb3ec978f9eb6fadeb14fa117847a6ce3ba736f2 Mon Sep 17 00:00:00 2001 > From: Daniel Stenberg <[email protected]> > Date: Wed, 27 Jun 2012 23:36:07 +0200 > Subject: [PATCH] schannel: provide two additional (dummy) API defines > > --- > lib/curl_schannel.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/lib/curl_schannel.h b/lib/curl_schannel.h > index 4f48f16..cf5b79a 100644 > --- a/lib/curl_schannel.h > +++ b/lib/curl_schannel.h > @@ -135,6 +135,7 @@ size_t Curl_schannel_version(char *buffer, size_t size); > #define curlssl_version Curl_schannel_version > #define curlssl_check_cxn(x) (x=x, -1) > #define curlssl_data_pending Curl_schannel_data_pending > - > +#define curlssl_random /* not used with the schannel backend */ > +#define curlssl_md5sum /* not used with the schannel backend */ > #endif /* USE_SCHANNEL */ > #endif /* HEADER_CURL_SCHANNEL_H */
yes, that fix works for me. Attached you will find the patch file I used, since I was unable to use your embedded patch. NTLM authentication tested against SharePoint 2010. Best regards, Marc
0001-schannel-provide-two-additional-dummy-API-defines.patch
Description: Binary data
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
