mirror of
https://github.com/curl/curl.git
synced 2026-08-25 10:53:37 +03:00
Tim Bartley's patch that makes the GSSNEGOTIATE option work for Microsoft's
"Negotiate" authentication as well.
This commit is contained in:
parent
0efcb57623
commit
fd42247cac
3 changed files with 40 additions and 6 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue