Tim Bartley's patch that makes the GSSNEGOTIATE option work for Microsoft's

"Negotiate" authentication as well.
This commit is contained in:
Daniel Stenberg 2003-09-11 22:21:11 +00:00
parent 0efcb57623
commit fd42247cac
3 changed files with 40 additions and 6 deletions

View file

@ -312,7 +312,8 @@ CURLcode Curl_http_auth(struct connectdata *conn,
start++;
#ifdef GSSAPI
if (checkprefix("GSS-Negotiate", start)) {
if (checkprefix("GSS-Negotiate", start) ||
checkprefix("Negotiate", start)) {
*availp |= CURLAUTH_GSSNEGOTIATE;
if(data->state.authwant == CURLAUTH_GSSNEGOTIATE) {
/* if exactly this is wanted, go */