Mercurial > pidgin.yaz
comparison plugins/ssl/ssl-nss.c @ 7157:fae7cfe975fd
[gaim-migrate @ 7724]
fix the NSS SSL plugin for TLS upgrades, and make note when a jabber server
requires TLS upgrading. How many more acronyms can I fit in this commit
message?
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 05 Oct 2003 05:35:44 +0000 |
parents | 9d8e56c66854 |
children | 448e39ace278 |
comparison
equal
deleted
inserted
replaced
7156:bb484e976aa8 | 7157:fae7cfe975fd |
---|---|
193 SSL_AuthCertificateHook(nss_data->in, | 193 SSL_AuthCertificateHook(nss_data->in, |
194 (SSLAuthCertificate)ssl_auth_cert, | 194 (SSLAuthCertificate)ssl_auth_cert, |
195 (void *)CERT_GetDefaultCertDB()); | 195 (void *)CERT_GetDefaultCertDB()); |
196 SSL_BadCertHook(nss_data->in, (SSLBadCertHandler)ssl_bad_cert, NULL); | 196 SSL_BadCertHook(nss_data->in, (SSLBadCertHandler)ssl_bad_cert, NULL); |
197 | 197 |
198 SSL_SetURL(nss_data->in, gsc->host); | 198 if(gsc->host) |
199 SSL_SetURL(nss_data->in, gsc->host); | |
199 | 200 |
200 SSL_ResetHandshake(nss_data->in, PR_FALSE); | 201 SSL_ResetHandshake(nss_data->in, PR_FALSE); |
201 | 202 |
202 if (SSL_ForceHandshake(nss_data->in)) | 203 if (SSL_ForceHandshake(nss_data->in)) |
203 { | 204 { |