mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2025-10-25 05:55:33 -07:00
Add support for self-signed certificates
This commit is contained in:
committed by
Mickaël Rémond
parent
79803a8af9
commit
9577036327
@@ -1,12 +1,9 @@
|
||||
package stanza
|
||||
|
||||
import (
|
||||
"crypto/tls"
|
||||
"encoding/xml"
|
||||
)
|
||||
|
||||
var DefaultTlsConfig tls.Config
|
||||
|
||||
// Used during stream initiation / session establishment
|
||||
type TLSProceed struct {
|
||||
XMLName xml.Name `xml:"urn:ietf:params:xml:ns:xmpp-tls proceed"`
|
||||
|
||||
Reference in New Issue
Block a user