Mercurial > pidgin
comparison libpurple/plugins/ssl/ssl-gnutls.c @ 17787:52ba21acc168
disapproval of revision 'b0f6005b1330af13bce0bcb189a2c887036b5ea3'
author | William Ehlhardt <williamehlhardt@gmail.com> |
---|---|
date | Thu, 31 May 2007 00:37:10 +0000 |
parents | 7ed10c051820 |
children | b610b8e0c850 |
comparison
equal
deleted
inserted
replaced
17786:7ed10c051820 | 17787:52ba21acc168 |
---|---|
192 ); | 192 ); |
193 } | 193 } |
194 | 194 |
195 secondary = g_strdup_printf | 195 secondary = g_strdup_printf |
196 ( | 196 ( |
197 _("Certificate name:\n%s\n\nKey fingerprint (SHA1): %s\n\nSerial Number: %s\n\nTODO: Expiration dates, etc.\n"), | 197 _("Certificate name: %s\nKey fingerprint (SHA1):%s\nSerial Number:%s\nTODO: Expiration dates, etc.\n"), |
198 dn, fpr_asc, ser_asc | 198 dn, fpr_asc, ser_asc |
199 ); | 199 ); |
200 | 200 |
201 purple_request_accept_cancel | 201 purple_request_accept_cancel |
202 (gsc, | 202 (gsc, |
265 | 265 |
266 cert_list = | 266 cert_list = |
267 gnutls_certificate_get_peers(session, &cert_list_size); | 267 gnutls_certificate_get_peers(session, &cert_list_size); |
268 | 268 |
269 purple_debug_info("gnutls", | 269 purple_debug_info("gnutls", |
270 "Peer %s provided %d certs\n", | 270 "Peer provided %d certs\n", |
271 gsc->host, | |
272 cert_list_size); | 271 cert_list_size); |
273 | 272 |
274 for (i=0; i<cert_list_size; i++) | 273 for (i=0; i<cert_list_size; i++) |
275 { | 274 { |
276 guchar fpr_bin[256]; | 275 guchar fpr_bin[256]; |