diff options
author | Michael Osipov <1983-01-06@gmx.net> | 2014-07-21 09:53:44 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-07-23 00:01:39 +0200 |
commit | 5128672731a5edef2c7526610584fef821ec2309 (patch) | |
tree | d4ce724e1a1ddcceaa1107bbabe6bb04ed727ff0 /lib/http.c | |
parent | eda12bcff8bc47380d6e997d785464f858c1d140 (diff) | |
download | curl-5128672731a5edef2c7526610584fef821ec2309.tar.gz |
HTTP: Remove checkprefix("GSS-Negotiate")
That auth mech has never existed neither on MS nor on Unix side.
There is only Negotiate over SPNEGO.
Diffstat (limited to 'lib/http.c')
-rw-r--r-- | lib/http.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/http.c b/lib/http.c index 4931dd897..8cd15dece 100644 --- a/lib/http.c +++ b/lib/http.c @@ -571,7 +571,7 @@ output_auth_headers(struct connectdata *conn, negdata->state = GSS_AUTHNONE; if((authstatus->picked == CURLAUTH_GSSNEGOTIATE) && negdata->context && !GSS_ERROR(negdata->status)) { - auth="GSS-Negotiate"; + auth="Negotiate"; result = Curl_output_negotiate(conn, proxy); if(result) return result; @@ -772,8 +772,7 @@ CURLcode Curl_http_input_auth(struct connectdata *conn, bool proxy, while(*auth) { #ifdef USE_HTTP_NEGOTIATE - if(checkprefix("GSS-Negotiate", auth) || - checkprefix("Negotiate", auth)) { + if(checkprefix("Negotiate", auth)) { int neg; *availp |= CURLAUTH_GSSNEGOTIATE; authp->avail |= CURLAUTH_GSSNEGOTIATE; |