Mercurial > pidgin.yaz
diff 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 |
line wrap: on
line diff
--- a/plugins/ssl/ssl-nss.c Sun Oct 05 05:04:55 2003 +0000 +++ b/plugins/ssl/ssl-nss.c Sun Oct 05 05:35:44 2003 +0000 @@ -195,7 +195,8 @@ (void *)CERT_GetDefaultCertDB()); SSL_BadCertHook(nss_data->in, (SSLBadCertHandler)ssl_bad_cert, NULL); - SSL_SetURL(nss_data->in, gsc->host); + if(gsc->host) + SSL_SetURL(nss_data->in, gsc->host); SSL_ResetHandshake(nss_data->in, PR_FALSE);