stream.go
changeset 78 a5848c75d270
parent 76 caa722ab8a0f
child 81 a74e7fc4ecee
--- a/stream.go	Thu Jan 19 16:23:15 2012 -0600
+++ b/stream.go	Thu Jan 19 16:27:55 2012 -0600
@@ -401,7 +401,7 @@
 	cl.socketSync.Wait()
 
 	// Negotiate TLS with the server.
-	tls := tls.Client(tcp, nil)
+	tls := tls.Client(tcp, TLSConfig)
 
 	// Make the TLS connection available to the reader, and wait
 	// for it to signal that it's working again.