aboutsummaryrefslogtreecommitdiffstats
path: root/lib/md5.h
Commit message (Collapse)AuthorAgeLines
* Use glib's GChecksum for md5/sha1dequis2015-01-31-39/+11
| | | | | | | | | | | | | | | | | | | 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)
* Having written the same stupid code (ASCII MD5 hashes) 205762 times, time toWilmer van der Gaast2011-07-31-0/+1
| | | | | have a function for it..
* OpenSolaris (non-gcc) fixes, patches from Dagobert Michelsen <dam@opencsw.org>Wilmer van der Gaast2010-08-07-0/+4
| | | | | with some changes.
* Fixing some Solaris compiler warnings (u_int->uint, adding some typecastsWilmer van der Gaast2008-01-17-3/+4
| | | | | for pid_t variables).
* Replaced GPL-incompatible MD5 hashing code.Wilmer van der Gaast2007-11-23-73/+29
|
* Moving all generic files to lib/ instead of having some in / and some inWilmer van der Gaast2006-06-25-0/+85
protocols/, and adding RC4 code.