comparison libpurple/certificate.c @ 19211:8b2b9765fe64

- Add debugging babble
author William Ehlhardt <williamehlhardt@gmail.com>
date Mon, 13 Aug 2007 16:04:48 +0000
parents 74a3f6606cf6
children c28e1afe691b
comparison
equal deleted inserted replaced
19210:74a3f6606cf6 19211:8b2b9765fe64
1247 last = g_list_last(chain); 1247 last = g_list_last(chain);
1248 end_crt = (PurpleCertificate *) last->data; 1248 end_crt = (PurpleCertificate *) last->data;
1249 1249
1250 /* Attempt to look up the last certificate's issuer */ 1250 /* Attempt to look up the last certificate's issuer */
1251 ca_id = purple_certificate_get_issuer_unique_id(end_crt); 1251 ca_id = purple_certificate_get_issuer_unique_id(end_crt);
1252 purple_debug_info("certificate/x509/tls_cached",
1253 "Checking for a CA with DN=%s\n",
1254 ca_id);
1252 if ( !purple_certificate_pool_contains(ca, ca_id) ) { 1255 if ( !purple_certificate_pool_contains(ca, ca_id) ) {
1253 purple_debug_info("certificate/x509/tls_cached", 1256 purple_debug_info("certificate/x509/tls_cached",
1254 "Certificate Authority with DN='%s' not " 1257 "Certificate Authority with DN='%s' not "
1255 "found. I'll prompt the user, I guess.\n", 1258 "found. I'll prompt the user, I guess.\n",
1256 ca_id); 1259 ca_id);