forked from jshiffer/go-xmpp
Default change to InsecureSkipVerify removed
Slipped through. This is definitely not a good default for most people.
This commit is contained in:
parent
6c1f4b23f8
commit
9c349bcc3f
4
xmpp.go
4
xmpp.go
@ -44,10 +44,6 @@ const (
|
|||||||
// Default TLS configuration options
|
// Default TLS configuration options
|
||||||
var DefaultConfig tls.Config
|
var DefaultConfig tls.Config
|
||||||
|
|
||||||
func init() {
|
|
||||||
DefaultConfig.InsecureSkipVerify = true
|
|
||||||
}
|
|
||||||
|
|
||||||
// Cookie is a unique XMPP session identifier
|
// Cookie is a unique XMPP session identifier
|
||||||
type Cookie uint64
|
type Cookie uint64
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user