From 9c349bcc3f70ed52527d3b8e23d2af92d0985cfa Mon Sep 17 00:00:00 2001 From: James Andariese Date: Mon, 13 Apr 2015 07:50:54 -0700 Subject: [PATCH] Default change to InsecureSkipVerify removed Slipped through. This is definitely not a good default for most people. --- xmpp.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/xmpp.go b/xmpp.go index d9bbaa7..5762e0c 100644 --- a/xmpp.go +++ b/xmpp.go @@ -44,10 +44,6 @@ const ( // Default TLS configuration options var DefaultConfig tls.Config -func init() { - DefaultConfig.InsecureSkipVerify = true -} - // Cookie is a unique XMPP session identifier type Cookie uint64