| 269 /* |
269 /* |
| 270 * Ideally this information would be exposed to the UI somehow, but for now we |
270 * Ideally this information would be exposed to the UI somehow, but for now we |
| 271 * just print it to the debug log |
271 * just print it to the debug log |
| 272 */ |
272 */ |
| 273 static void |
273 static void |
| 274 printSecurityInfo(PRFileDesc *fd) |
274 print_security_info(PRFileDesc *fd) |
| 275 { |
275 { |
| 276 SECStatus result; |
276 SECStatus result; |
| 277 SSLChannelInfo channel; |
277 SSLChannelInfo channel; |
| 278 SSLCipherSuiteInfo suite; |
278 SSLCipherSuiteInfo suite; |
| 279 |
279 |
| 331 purple_ssl_close(gsc); |
331 purple_ssl_close(gsc); |
| 332 |
332 |
| 333 return; |
333 return; |
| 334 } |
334 } |
| 335 |
335 |
| 336 printSecurityInfo(nss_data->in); |
336 print_security_info(nss_data->in); |
| 337 |
337 |
| 338 purple_input_remove(nss_data->handshake_handler); |
338 purple_input_remove(nss_data->handshake_handler); |
| 339 nss_data->handshake_handler = 0; |
339 nss_data->handshake_handler = 0; |
| 340 |
340 |
| 341 /* If a Verifier was given, hand control over to it */ |
341 /* If a Verifier was given, hand control over to it */ |