summaryrefslogtreecommitdiff
path: root/lib/krb4.c
Commit message (Collapse)AuthorAgeFilesLines
* build: make use of 76 lib/*.h renamed filesYang Tse2012-12-281-7/+7
| | | | | | 76 private header files renamed to use our standard naming scheme. This change affects 322 files in libcurl's source tree.
* setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h>Yang Tse2012-12-141-4/+0
| | | | Inclusion of top two most included header files now done in setup_once.h
* add missing semicolonsYang Tse2011-08-241-2/+2
|
* base64: fix Curl_base64_encode and Curl_base64_decode interfacesYang Tse2011-08-241-12/+27
| | | | | | | | | | | Previous interfaces for these libcurl internal functions did not allow to tell apart a legitimate zero size result from an error condition. These functions now return a CURLcode indicating function success or otherwise specific error. Output size is returned using a pointer argument. All usage of these two functions, and others closely related, has been adapted to the new interfaces. Relative error and OOM handling adapted or added where missing. Unit test 1302 also adapted.
* stdio.h, stdlib.h, string.h, stdarg.h and ctype.h inclusion done in setup_once.hYang Tse2011-07-261-2/+0
|
* code style: space between close paren and open braceDaniel Stenberg2011-07-041-2/+2
|
* source cleanup: unify look, style and indent levelsDaniel Stenberg2011-04-271-4/+4
| | | | | By the use of a the new lib/checksrc.pl script that checks that our basic source style rules are followed.
* urldata: Capitalize enum protect_level values.Julien Chaffraix2010-11-131-6/+6
| | | | | This makes it easier to spot the enum values from the variables. Removed some unneeded DEBUGASSERT added in the previous commit.
* security: tighten enum protection_level usage.Julien Chaffraix2010-11-131-1/+2
| | | | | | | | | | While changing Curl_sec_read_msg to accept an enum protection_level instead of an int, I went ahead and fixed the usage of the associated fields. Some code was assuming that prot_clear == 0. Fixed those to use the proper value. Added assertions prior to any code that would set the protection level.
* krb4: make a few functions staticDaniel Stenberg2010-10-181-8/+16
|
* remove the CVSish $Id$ linesDaniel Stenberg2010-03-241-1/+0
|
* libcurl's memory.h renamed to curl_memory.hYang Tse2009-04-211-2/+2
|
* fix OOM problem reported by Jim MeyeringDaniel Stenberg2008-11-161-0/+2
|
* Replace inet_ntoa and inet_ntoa_r with Curl_inet_ntopYang Tse2008-09-231-11/+4
|
* libcurl internal base64.h header file renamed to curl_base64.hYang Tse2008-08-171-1/+1
|
* - Make Curl_write and it's callees accept a const pointer, in preparationMichal Marek2008-05-091-3/+6
| | | | of tetetest's patch for curl_easy_send()
* Calls to Curl_failf() are not supposed to provide a trailing newline as theDaniel Stenberg2008-01-151-2/+2
| | | | function itself adds that. Fixed on 50 or something strings!
* if () => if()Daniel Stenberg2007-11-071-5/+5
| | | | | while () => while() and some other minor re-indentings
* - David McCreedy made changes to allow base64 encoding/decoding to work onDaniel Stenberg2007-01-031-3/+4
| | | | non-ASCII platforms.
* updated source headerDaniel Stenberg2006-01-261-7/+9
|
* Removed security.h since it shadows an include file mingw needs when buildingDaniel Stenberg2005-03-141-2/+2
| | | | for SSPI support. The contents of the file has been moved into the krb4.h file.
* krb4 fixedDaniel Stenberg2005-02-221-5/+5
|
* Curl_base64_decode() now returns an allocated bufferDaniel Stenberg2005-02-221-4/+18
|
* Dan Fandrich added --disable-verboseDaniel Stenberg2004-11-111-3/+3
|
* removed tabs and trailing whitespace from sourceDaniel Stenberg2004-10-061-3/+3
|
* Source cleanups. The major one being that we now _always_ use a Curl_addrinfoDaniel Stenberg2004-06-241-17/+17
| | | | | linked list for name resolved data, even on hosts/systems with only IPv4 stacks as this simplifies a lot of code.
* curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg2004-05-111-2/+1
| | | | memory.h is included everywhere for this.
* the new way of accessing the host nameDaniel Stenberg2004-04-281-2/+2
|
* fixed some warnings in the (both new and old) base64 usageDaniel Stenberg2004-02-231-4/+4
|
* inlcude krb4.h to get the proto for Curl_krb_kauth() to satisfy pickyDaniel Stenberg2004-02-211-0/+1
| | | | compilers
* based on Gisle's comment, I removed the use of syslog() and fixed theDaniel Stenberg2003-12-041-65/+67
| | | | netdb.h include, then I re-indented some code to use curl-style
* use the HAVE_KRB4 define instead of just KRB4Daniel Stenberg2003-12-021-2/+2
|
* adjusted code to the new socket fields in the sessionhandle structDaniel Stenberg2003-11-241-1/+1
|
* krb4-fixes for the moved user+password fields within the structsDaniel Stenberg2003-07-211-1/+1
|
* Access the user and passwd fields from the connectdata struct now insteadDaniel Stenberg2003-07-191-1/+1
| | | | of the sessionhandle struct, as that was not good.
* use CURLDEBUG instead of MALLOCDEBUG for preprocessor conditionsDaniel Stenberg2003-06-261-1/+1
|
* removed the local variables for emacs and vim, use the new sample.emacsDaniel Stenberg2003-01-291-8/+0
| | | | way for emacs, and vim users should provide a similar non-polluting style
* Removed the long-living compiler warnings on the des_pcbc_encrypt() functionDaniel Stenberg2003-01-271-7/+12
| | | | calls!
* Curl_GetFTPResponse() takes a different set of parameters and now return aDaniel Stenberg2002-12-031-23/+29
| | | | | proper CURLcode. The default timeout for reading one response is now also possible to change while running.
* added disable-[protocol] support, largely provided by Miklos NemethDaniel Stenberg2002-06-111-0/+2
|
* use the hostname pointer instead of using IPv4-only info from a structDaniel Stenberg2002-04-251-2/+2
|
* fixed an inet_ntoa() occurance to use inet_ntoa_r() if it is available.Daniel Stenberg2002-01-041-35/+34
| | | | I also replaced all printf() calls with calls to Curl_failf()
* failf() calls should not have newlines in the message string!Daniel Stenberg2001-12-111-1/+1
|
* check Curl_ftpsendf return codesDaniel Stenberg2001-10-311-4/+6
|
* looks nicer and is better compatible with older vim versionsSterling Hughes2001-10-111-2/+2
|
* sessionhandle->hp => hostaddrDaniel Stenberg2001-10-011-3/+3
|
* fixed the missing getftpresponse editsDaniel Stenberg2001-09-281-4/+2
|
* removed the socket argument from some functions that always passed in theDaniel Stenberg2001-09-281-5/+5
| | | | same socket and it was available from the passed-in struct anyway!
* Added formatting sections for emacs and vimSterling Hughes2001-09-071-0/+8
|
* a few more struct fixesDaniel Stenberg2001-08-301-10/+10
|