comparison libpurple/plugins/ssl/ssl-gnutls.c @ 19021:fcca10d0ac7d

- purple_certificate_verify no longer takes possession of the certificate chain given. - GnuTLS SSL plugin updated with the implications of above
author William Ehlhardt <williamehlhardt@gmail.com>
date Fri, 13 Jul 2007 09:09:52 +0000
parents e179e7e6ded7
children 6c0aad79c4c5
comparison
equal deleted inserted replaced
19020:d69355001a6e 19021:fcca10d0ac7d
234 purple_certificate_verify(gsc->verifier, 234 purple_certificate_verify(gsc->verifier,
235 gsc->host, 235 gsc->host,
236 peers, 236 peers,
237 ssl_gnutls_verified_cb, 237 ssl_gnutls_verified_cb,
238 gsc); 238 gsc);
239 239
240 purple_certificate_destroy_list(peers);
240 } else { 241 } else {
241 /* Otherwise, just call the "connection complete" 242 /* Otherwise, just call the "connection complete"
242 callback */ 243 callback */
243 gsc->connect_cb(gsc->connect_cb_data, gsc, cond); 244 gsc->connect_cb(gsc->connect_cb_data, gsc, cond);
244 } 245 }