summaryrefslogtreecommitdiff
path: root/lib/http_negotiate.c
Commit message (Collapse)AuthorAgeFilesLines
* remove the CVSish $Id$ linesDaniel Stenberg2010-03-241-1/+0
|
* libcurl's memory.h renamed to curl_memory.hYang Tse2009-04-211-1/+1
|
* fix compiler warning: implicit conversion shortens 64-bit value into a ↵Yang Tse2009-04-131-6/+6
| | | | 32-bit value
* moved the Curl_raw_ functions into the new lib/rawstr.c file for easier curlx_Daniel Stenberg2008-10-231-1/+1
| | | | inclusion by the curl tool without colliding with the curl_strequal functions.
* Made some variables const which eliminated some castsDan Fandrich2008-09-021-2/+2
|
* libcurl internal base64.h header file renamed to curl_base64.hYang Tse2008-08-171-1/+1
|
* Fix Use of conditional definition of USE_OPENSSLYang Tse2008-08-161-6/+10
|
* David Rosenstrauch reported that header files spnegohelp.h andYang Tse2008-05-261-0/+9
| | | | openssl/objects.h were needed to compile SPNEGO support.
* - Andre Guibert de Bruet fixed a second case of not checking the malloc()Daniel Stenberg2008-04-141-1/+3
| | | | return code in the Negotiate code.
* - Andre Guibert de Bruet found and fixed a case where malloc() was called butDaniel Stenberg2008-04-121-2/+8
| | | | was not checked for a NULL return, in the Negotiate code.
* - Fix the MIT / Heimdal check for good:Michal Marek2008-04-071-1/+1
| | | | | | | | | Define HAVE_GSSMIT if <gssapi/{gssapi.h,gssapi_generic.h,gssapi_krb5.h}> are available, otherwise define HAVE_GSSHEIMDAL if <gssapi.h> is available. Only define GSS_C_NT_HOSTBASED_SERVICE to gss_nt_service_name if GSS_C_NT_HOSTBASED_SERVICE isn't declared by the gssapi headers. This should avoid breakage in case we wrongly recognize Heimdal as MIT again.
* - Anatoli Tubman found and fixed a crash with Negotiate authentication used onDaniel Stenberg2008-03-011-3/+2
| | | | a re-used connection where both requests used Negotiate.
* While inspecting the Negotiate code, I noticed how the proxy auth was usingDaniel Stenberg2007-11-201-13/+20
| | | | | | | the same state struct as the host auth, so both could never be used at the same time! I fixed it (without being able to check) to use two separate structs to allow authentication using Negotiate on host and proxy simultanouesly.
* white space changes only to clean up indent and source widthDaniel Stenberg2007-11-201-5/+10
|
* removed space after if and while before the parenthesis for better source codeDaniel Stenberg2007-11-051-24/+24
| | | | consistency
* Mark Davies fixed Negotiate authentication over proxy, and also introducedDaniel Stenberg2007-09-211-7/+7
| | | | | the --proxy-negotiate command line option to allow a user to explicitly select it.
* Fixed some minor type mismatches and missing consts mainly found by splint.Dan Fandrich2007-08-271-1/+1
|
* Fixes some more out of memory handling bugs.Dan Fandrich2007-04-041-1/+1
|
* - David McCreedy made changes to allow base64 encoding/decoding to work onDaniel Stenberg2007-01-031-2/+3
| | | | non-ASCII platforms.
* Avoid typecasting a signed char to an int when using is*() functions, as thatDaniel Stenberg2006-10-171-2/+2
| | | | | | | | | could very well cause a negate number get passed in and thus cause reading outside of the array usually used for this purpose. We avoid this by using the uppercase macro versions introduced just now that does some extra crazy typecasts to avoid byte codes > 127 to cause negative int values.
* Roland Blom filed bug report #1481217Daniel Stenberg2006-05-041-2/+1
| | | | | | | | | | | (http://curl.haxx.se/bug/view.cgi?id=1481217), with follow-ups by Michele Bini and David Byron. libcurl previously wrongly used GetLastError() on windows to get error details after socket-related function calls, when it really should use WSAGetLastError() instead. When changing to this, the former function Curl_ourerrno() is now instead called Curl_sockerrno() as it is necessary to only use it to get errno from socket-related functions as otherwise it won't work as intended on Windows.
* Ulf Härnhammar fixed a format string (printf style) problem in the NegotiateDaniel Stenberg2006-02-181-1/+1
| | | | | code. It should however not be the cause of any troubles. He also fixed a few similar problems in the HTTP test server code.
* Updated the copyright year since changes have been this year.Daniel Stenberg2005-03-311-1/+1
|
* Fixed some compiler warnings. Fixed a low incidence memory leak in the test ↵Dan Fandrich2005-02-241-3/+3
| | | | server.
* Curl_base64_decode() now returns an allocated bufferDaniel Stenberg2005-02-221-6/+1
|
* Enrico Scholz fixed the service name to be uppercase as reported in bugDaniel Stenberg2004-08-051-2/+2
| | | | report #1004105
* Replaced all uses of sprintf() with the safer snprintf(). It is just aDaniel Stenberg2004-06-241-18/+20
| | | | precaution to prevent mistakes to lead to buffer overflows.
* curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg2004-05-111-2/+1
| | | | memory.h is included everywhere for this.
* Made host name and proxy name get stored in a 'struct hostname' and setDaniel Stenberg2004-04-271-2/+2
| | | | | | all things up to work with encoded host names internally, as well as keeping 'display names' to show in debug messages. IDN resolves work for me now using ipv6, ipv4 and ares resolving. Even cookies on IDN sites seem to do right.
* updated year in the copyright stringDaniel Stenberg2004-01-071-1/+1
|
* Markus Moeller's change to check for HAVE_SPNEGO instead of the previousDaniel Stenberg2003-11-271-2/+2
|
* Markus Moeller's SPNEGO patch applied, with my edits, additions and minorDaniel Stenberg2003-09-191-4/+88
| | | | cleanups.
* Tim Bartley's patch that makes the GSSNEGOTIATE option work for Microsoft'sDaniel Stenberg2003-09-111-5/+36
| | | | "Negotiate" authentication as well.
* Daniel Kouril's fix to make the GSS-Negotiate work fine.Daniel Stenberg2003-07-231-8/+6
|
* kill warningsDaniel Stenberg2003-06-261-13/+14
|
* Daniel Kouril's patch that adds HTTP negotiation support to libcurl wasDaniel Stenberg2003-06-101-0/+217
added.