aboutsummaryrefslogtreecommitdiffstats
path: root/lib/md5.c
Commit message (Collapse)AuthorAgeLines
* Reindent everything to K&R style with tabsIndent2015-02-20-0/+2
| | | | | | | 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's GChecksum for md5/sha1dequis2015-01-31-257/+20
| | | | | | | | | | | | | | | | | | | This changes behavior slightly: - md5_init()/sha1_init() allocate a GChecksum - md5_finish()/sha1_finish() close and free() it - md5_digest_keep() was added (no sha1 equivalent needed) And yes, glib has this concept of "closing" the GChecksum, which means it can't be used anymore after g_checksum_get_digest(). jabber_cache_add() actually seems to need to do that to generate some random-ish values, so i kept that working by adding a md5_digest_keep() function that copies the GChecksum before it gets closed GChecksum was introduced in glib 2.16, so the configure script version was bumped. We were already depending on glib 2.16 accidentally (some post-3.2.2 code uses GHashTableIter)
* Merging compiler warning fix. Patch by Mark H Weaver <mhw@netris.org>.Wilmer van der Gaast2014-03-07-1/+1
|
* Facebook authentication. This isn't really OAuth in the end: FB doesn'tWilmer van der Gaast2011-07-31-0/+1
| | | | | | really support desktop app OAuth in a way that would work with BitlBee. Plus, it's only OAuth-compliant by, err, name?
* Having written the same stupid code (ASCII MD5 hashes) 205762 times, time toWilmer van der Gaast2011-07-31-0/+10
| | | | | have a function for it..
* Added byte swapping code to the new MD5 checksumming code to make it workWilmer van der Gaast2008-01-19-69/+96
| | | | | | | | on big-endian machines. (If someone thinks BitlBee should work on PDPs, send me the fix. I don't care. :-P) This fixes bug #351 (MSN challenge- response failure) but might break backward compatibility if the broken MD5 code was used to save settings. (Somewhere between rev 266 and now.)
* Fixing some Solaris compiler warnings (u_int->uint, adding some typecastsWilmer van der Gaast2008-01-17-11/+11
| | | | | for pid_t variables).
* Replaced GPL-incompatible MD5 hashing code.Wilmer van der Gaast2007-11-23-367/+210
|
* Moving all generic files to lib/ instead of having some in / and some inWilmer van der Gaast2006-06-25-0/+392
protocols/, and adding RC4 code.