aboutsummaryrefslogtreecommitdiffstats
path: root/lib/base64.c
Commit message (Collapse)AuthorAgeLines
* Reindent everything to K&R style with tabsIndent2015-02-20-2/+4
| | | | | | | Used uncrustify, with the configuration file in ./doc/uncrustify.cfg Commit author set to "Indent <please@skip.me>" so that it's easier to skip while doing git blame.
* Use glib functions for base64 decoding/encodingdequis2014-11-24-103/+8
| | | | | | | | | | | | This fixes several coverity warnings about 'tainted data index sink' and a fixme about thread safety in the old base64_decode implementation. Had to adapt the code that used base64_encode_real: - oauth.c: different character set order, but it's for the nonce so it doesn't matter - libyahoo2.c: used as part of the auth, changes "+/=" into "._-". Fixed by encoding first the usual way through glib, then replacing.
* Fixed base64_decode() to not barf on corrupted Base64 strings.Wilmer van der Gaast2008-03-16-1/+1
|
* Fix some warnings in storage.c.Jelmer Vernooij2007-07-07-2/+2
|
* Moved Base64-related functions to a separate file and added decode funtions.Wilmer van der Gaast2006-06-25-0/+153