aboutsummaryrefslogtreecommitdiff
path: root/lib/base64.c
AgeCommit message (Collapse)Author
2011-06-10unittest: mark all unit tested functionsDaniel Stenberg
With "@unittest: [num]" in the header comment for each tested function. Shows we have a log way to go still...
2011-05-23compiler warning: fixYang Tse
Fix compiler warning: expression has no effect Fix OOM handling
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.
2011-04-20CURL_DOES_CONVERSIONS: cleanupDaniel Stenberg
Massively reduce #ifdefs all over (23 #ifdef lines less so far) Moved conversion-specific code to non-ascii.c
2011-04-17base64.c: removed wrong commentDaniel Stenberg
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2010-02-22convert Curl_ultous() and Curl_ultouc() functions to curlx_ultous() andYang Tse
curlx_ultouc(), exposing them through curlx.h to allow proper code reuse later in our test harness.
2010-02-22add header inclusionYang Tse
2010-02-22fix compiler warningYang Tse
2010-02-21fix compiler warningYang Tse
2010-02-20fix compiler warningYang Tse
2010-02-20fix compiler warningYang Tse
2010-02-20fix compiler warningYang Tse
2009-06-04fix shadowing of a global declarationYang Tse
2009-04-21libcurl's memory.h renamed to curl_memory.hYang Tse
2008-11-14Remove a chunk of unused code that was #ifdef'de on defines we never set.Daniel Stenberg
We do testing of code functions using the test suite instead!
2008-09-06remove unnecessary typecasting of malloc()Yang Tse
2008-09-06remove unnecessary typecasting of realloc()Yang Tse
2008-09-04fix print formatting string directivesYang Tse
2008-09-02Removed some redundant type castsDan Fandrich
2008-08-17libcurl internal base64.h header file renamed to curl_base64.hYang Tse
2007-11-05removed space after if and while before the parenthesis for better source codeDaniel Stenberg
consistency
2007-08-30Renamed several libcurl error codes and options to make them more generalDan Fandrich
and allow reuse by multiple protocols. Several unused error codes were removed. In all cases, macros were added to preserve source (and binary) compatibility with the old names. These macros are subject to removal at a future date, but probably not before 2009. An application can be tested to see if it is using any obsolete code by compiling it with the CURL_NO_OLDIES macro defined. Documented some newer error codes in libcurl-error(3)
2007-04-25Steve Little's fixes to allow compilation on VMS 64-bit modeYang Tse
2007-04-13proper fix for compiler warningYang Tse
2007-04-13fix compiler warningYang Tse
2007-04-04Fixes some more out of memory handling bugs.Dan Fandrich
2007-02-01Suppress the "'convbuf' might be used uninitialized in this function" warning.Gisle Vanem
2007-01-03- David McCreedy made changes to allow base64 encoding/decoding to work onDaniel Stenberg
non-ASCII platforms.
2006-10-17Avoid typecasting a signed char to an int when using is*() functions, as thatDaniel Stenberg
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.
2006-07-19Fix compiler warningsYang Tse
2005-03-31Updated the copyright year since changes have been this year.Daniel Stenberg
2005-02-28Fix for a base64 decode heap buffer overflow vulnerability.Dan Fandrich
2005-02-22Curl_base64_decode() now returns an allocated bufferDaniel Stenberg
2004-12-15Add 'const' to immutable arrays.Dan Fandrich
2004-06-24Replaced all uses of sprintf() with the safer snprintf(). It is just aDaniel Stenberg
precaution to prevent mistakes to lead to buffer overflows.
2004-05-12make sure the returned pointer is NULL when encoding failsDaniel Stenberg
2004-05-11curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg
memory.h is included everywhere for this.
2004-03-01removed an unnecessary shift and splut up som weird two-statements-per-lineDaniel Stenberg
code
2004-02-23oops, the decode() function got its arguments reversed in my cleanupDaniel Stenberg
operation!
2004-02-23More size_t cleanups in the base64 functions.Daniel Stenberg
2004-02-23The base64 encode function now takes a size_t for size, not an int asDaniel Stenberg
previously.
2004-01-07updated year in the copyright stringDaniel Stenberg
2003-06-26We noe use CURLDEBUG instead of MALLOCDEBUGDaniel Stenberg
2003-06-11made a nicer output for the decode test, as it served as a nice tool for me ;-)Daniel Stenberg
2003-06-11Initial take at NTLM authentication. It doesn't really work at this pointDaniel Stenberg
but the infrastructure is there.
2003-02-13Christopher R. Palmer fixed Curl_base64_encode() to deal with zeroes in theDaniel Stenberg
data to encode.
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-16copyright year update in the source headerDaniel Stenberg
2003-01-09proper indentDaniel Stenberg