changeset 78 | a5848c75d270 |
parent 76 | caa722ab8a0f |
child 81 | a74e7fc4ecee |
--- a/xmpp.go Thu Jan 19 16:23:15 2012 -0600 +++ b/xmpp.go Thu Jan 19 16:27:55 2012 -0600 @@ -8,6 +8,7 @@ import ( "bytes" + "crypto/tls" "encoding/xml" "errors" "fmt" @@ -42,6 +43,8 @@ Log *log.Logger // Threshold for which messages are logged. Loglevel syslog.Priority = syslog.LOG_NOTICE + // Use this Config to negotiate TLS connections. + TLSConfig *tls.Config = nil ) // This channel may be used as a convenient way to generate a unique