# HG changeset patch # User Paul Aurich # Date 1249358609 0 # Node ID 32956c0536b9450aa711edb9a1eb558f28118e7b # Parent 46a6465491ac363a258b6eff674a042411ad4c76 cert: This a bad idea. check_subject_name being mandatory to implement is IMHO much better. diff -r 46a6465491ac -r 32956c0536b9 libpurple/certificate.c --- 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);