aboutsummaryrefslogtreecommitdiff
path: root/lib/krb4.c
AgeCommit message (Collapse)Author
2012-12-14setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h>Yang Tse
Inclusion of top two most included header files now done in setup_once.h
2011-08-24add missing semicolonsYang Tse
2011-08-24base64: fix Curl_base64_encode and Curl_base64_decode interfacesYang Tse
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.
2011-07-26stdio.h, stdlib.h, string.h, stdarg.h and ctype.h inclusion done in setup_once.hYang Tse
2011-07-04code style: space between close paren and open braceDaniel Stenberg
2011-04-27source cleanup: unify look, style and indent levelsDaniel Stenberg
By the use of a the new lib/checksrc.pl script that checks that our basic source style rules are followed.
2010-11-13urldata: Capitalize enum protect_level values.Julien Chaffraix
This makes it easier to spot the enum values from the variables. Removed some unneeded DEBUGASSERT added in the previous commit.
2010-11-13security: tighten enum protection_level usage.Julien Chaffraix
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.
2010-10-18krb4: make a few functions staticDaniel Stenberg
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2009-04-21libcurl's memory.h renamed to curl_memory.hYang Tse
2008-11-16fix OOM problem reported by Jim MeyeringDaniel Stenberg
2008-09-23Replace inet_ntoa and inet_ntoa_r with Curl_inet_ntopYang Tse
2008-08-17libcurl internal base64.h header file renamed to curl_base64.hYang Tse
2008-05-09- Make Curl_write and it's callees accept a const pointer, in preparationMichal Marek
of tetetest's patch for curl_easy_send()
2008-01-15Calls to Curl_failf() are not supposed to provide a trailing newline as theDaniel Stenberg
function itself adds that. Fixed on 50 or something strings!
2007-11-07if () => if()Daniel Stenberg
while () => while() and some other minor re-indentings
2007-01-03- David McCreedy made changes to allow base64 encoding/decoding to work onDaniel Stenberg
non-ASCII platforms.
2006-01-26updated source headerDaniel Stenberg
2005-03-14Removed security.h since it shadows an include file mingw needs when buildingDaniel Stenberg
for SSPI support. The contents of the file has been moved into the krb4.h file.
2005-02-22krb4 fixedDaniel Stenberg
2005-02-22Curl_base64_decode() now returns an allocated bufferDaniel Stenberg
2004-11-11Dan Fandrich added --disable-verboseDaniel Stenberg
2004-10-06removed tabs and trailing whitespace from sourceDaniel Stenberg
2004-06-24Source cleanups. The major one being that we now _always_ use a Curl_addrinfoDaniel Stenberg
linked list for name resolved data, even on hosts/systems with only IPv4 stacks as this simplifies a lot of code.
2004-05-11curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg
memory.h is included everywhere for this.
2004-04-28the new way of accessing the host nameDaniel Stenberg
2004-02-23fixed some warnings in the (both new and old) base64 usageDaniel Stenberg
2004-02-21inlcude krb4.h to get the proto for Curl_krb_kauth() to satisfy pickyDaniel Stenberg
compilers
2003-12-04based on Gisle's comment, I removed the use of syslog() and fixed theDaniel Stenberg
netdb.h include, then I re-indented some code to use curl-style
2003-12-02use the HAVE_KRB4 define instead of just KRB4Daniel Stenberg
2003-11-24adjusted code to the new socket fields in the sessionhandle structDaniel Stenberg
2003-07-21krb4-fixes for the moved user+password fields within the structsDaniel Stenberg
2003-07-19Access the user and passwd fields from the connectdata struct now insteadDaniel Stenberg
of the sessionhandle struct, as that was not good.
2003-06-26use CURLDEBUG instead of MALLOCDEBUG for preprocessor conditionsDaniel Stenberg
2003-01-29removed the local variables for emacs and vim, use the new sample.emacsDaniel Stenberg
way for emacs, and vim users should provide a similar non-polluting style
2003-01-27Removed the long-living compiler warnings on the des_pcbc_encrypt() functionDaniel Stenberg
calls!
2002-12-03Curl_GetFTPResponse() takes a different set of parameters and now return aDaniel Stenberg
proper CURLcode. The default timeout for reading one response is now also possible to change while running.
2002-06-11added disable-[protocol] support, largely provided by Miklos NemethDaniel Stenberg
2002-04-25use the hostname pointer instead of using IPv4-only info from a structDaniel Stenberg
2002-01-04fixed an inet_ntoa() occurance to use inet_ntoa_r() if it is available.Daniel Stenberg
I also replaced all printf() calls with calls to Curl_failf()
2001-12-11failf() calls should not have newlines in the message string!Daniel Stenberg
2001-10-31check Curl_ftpsendf return codesDaniel Stenberg
2001-10-11looks nicer and is better compatible with older vim versionsSterling Hughes
2001-10-01sessionhandle->hp => hostaddrDaniel Stenberg
2001-09-28fixed the missing getftpresponse editsDaniel Stenberg
2001-09-28removed the socket argument from some functions that always passed in theDaniel Stenberg
same socket and it was available from the passed-in struct anyway!
2001-09-07Added formatting sections for emacs and vimSterling Hughes
2001-08-30a few more struct fixesDaniel Stenberg
2001-08-30Major rename and redesign of the internal "backbone" structs. Details willDaniel Stenberg
be posted in a minute to the libcurl list.