libpurple/certificate.c

branch
soc.2007.certmgr
changeset 19350
847740e5ca57
parent 19349
747af1d98998
child 19351
37cc064be1c6
equal deleted inserted replaced
19349:747af1d98998 19350:847740e5ca57
826 } 826 }
827 827
828 static GList * 828 static GList *
829 x509_ca_get_idlist(void) 829 x509_ca_get_idlist(void)
830 { 830 {
831 GList *l, *idlist;
832
831 g_return_val_if_fail(x509_ca_lazy_init(), NULL); 833 g_return_val_if_fail(x509_ca_lazy_init(), NULL);
832 return NULL; 834
835 idlist = NULL;
836 for (l = x509_ca_certs; l; l = l->next) {
837 x509_ca_element *el = l->data;
838 idlist = g_list_prepend(idlist, g_strdup(el->dn));
839 }
840
841 return idlist;
833 } 842 }
834 843
835 844
836 static PurpleCertificatePool x509_ca = { 845 static PurpleCertificatePool x509_ca = {
837 "x509", /* Scheme name */ 846 "x509", /* Scheme name */

mercurial