mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2025-11-23 01:53:44 -08:00
Add support for self-signed certificates
This commit is contained in:
@@ -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