examples/interact.go
changeset 105 aa895dfae3f6
parent 103 f27f78706623
child 109 3887d7ad19c1
--- a/examples/interact.go	Sun Dec 16 15:24:55 2012 -0700
+++ b/examples/interact.go	Sun Dec 16 15:54:39 2012 -0700
@@ -6,6 +6,7 @@
 
 import (
 	xmpp ".."
+	"crypto/tls"
 	"flag"
 	"fmt"
 	"log"
@@ -28,6 +29,8 @@
 	xmpp.Debug = logger
 	xmpp.Info = logger
 	xmpp.Warn = logger
+
+	xmpp.TlsConfig = tls.Config{InsecureSkipVerify: true}
 }
 
 // Demonstrate the API, and allow the user to interact with an XMPP