changeset 27805:32956c0536b9

cert: This a bad idea. check_subject_name being mandatory to implement is IMHO much better.
author Paul Aurich <paul@darkrain42.org>
date Tue, 04 Aug 2009 04:03:29 +0000
parents 46a6465491ac
children fcf2d3b9f281
files libpurple/certificate.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/certificate.c	Fri Jul 31 03:27:47 2009 +0000
+++ b/libpurple/certificate.c	Tue Aug 04 04:03:29 2009 +0000
@@ -386,7 +386,6 @@
 
 	scheme = crt->scheme;
 
-	/* TODO: Instead of failing, maybe use get_subject_name and strcmp? */
 	g_return_val_if_fail(scheme->check_subject_name, FALSE);
 
 	return (scheme->check_subject_name)(crt, name);