changeset 26266:2321248ad702

merge of '9ae083b7093cb3dc764443a54dbb8d2abe84a0b8' and 'e13689e4856dc0f8c93c715c70c76bce6a2babca'
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Fri, 13 Mar 2009 04:32:05 +0000
parents 00c659e55902 (diff) b03430dae08e (current diff)
children da9e022befd9 f33f4ddbf01a
files
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/util.c	Fri Mar 13 04:29:11 2009 +0000
+++ b/libpurple/util.c	Fri Mar 13 04:32:05 2009 +0000
@@ -2850,6 +2850,12 @@
 	return "icon";
 }
 
+/*
+ * TODO: Consider using something faster than SHA-1, such as MD5, MD4
+ *       or CRC32.  Are there security implications to that?  Would
+ *       probably be a good idea to benchmark some algorithms with
+ *       3KB-10KB chunks of data (typical buddy icon sizes).
+ */
 char *
 purple_util_get_image_checksum(gconstpointer image_data, size_t image_len)
 {