pidgin.2.4.3: 9d8c8e1d: applied changes from 547cd65fb6e1faeb37d...

datallah at pidgin.im datallah at pidgin.im
Wed Jun 18 23:52:05 EDT 2008


-----------------------------------------------------------------
Revision: 9d8c8e1d563bd26b5d3b8172698fd94d148ebcfa
Ancestor: 90fa2b9e0c9b8273b139ee6b5e5fcd1b900c01a9
Author: datallah at pidgin.im
Date: 2008-06-19T03:19:04
Branch: im.pidgin.pidgin.2.4.3
URL: http://d.pidgin.im/viewmtn/revision/info/9d8c8e1d563bd26b5d3b8172698fd94d148ebcfa

Modified files:
        libpurple/certificate.c

ChangeLog: 

applied changes from 547cd65fb6e1faeb37d88730f0dbf45075a08426
             through ddf9a92e5eff18d5dc957a19bc6b7d918904848b

-------------- next part --------------
============================================================
--- libpurple/certificate.c	84c0e7c3ab874b800d47712b56d961ba87d2f8b5
+++ libpurple/certificate.c	d76a13f43539ec74cc79f0cb209f8ef932a8ee78
@@ -787,8 +787,7 @@ x509_ca_locate_cert(GList *lst, const gc
 
 	for (cur = lst; cur; cur = cur->next) {
 		x509_ca_element *el = cur->data;
-		/* TODO: Unsafe? */
-		if ( !strcmp(dn, el->dn) ) {
+		if (el->dn && !strcmp(dn, el->dn)) {
 			return el;
 		}
 	}


More information about the Commits mailing list