diff -r 8342afcffc92 -r cccf2b2fe34d xmpp/stream.go --- a/xmpp/stream.go Sat Sep 07 11:19:29 2013 -0700 +++ b/xmpp/stream.go Sat Sep 07 11:46:42 2013 -0700 @@ -341,7 +341,7 @@ cl.socketSync.Wait() // Negotiate TLS with the server. - tls := tls.Client(tcp, &TlsConfig) + tls := tls.Client(tcp, &cl.TlsConfig) // Make the TLS connection available to the reader, and wait // for it to signal that it's working again.