mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2025-11-12 21:03:44 -08:00
Add tool to check XMPP certificate on starttls
Minor refactoring
This commit is contained in:
committed by
Mickaël Rémond
parent
c642ad79fc
commit
f45829916c
2
auth.go
2
auth.go
@@ -8,7 +8,7 @@ import (
|
||||
"io"
|
||||
)
|
||||
|
||||
func authSASL(socket io.ReadWriter, decoder *xml.Decoder, f streamFeatures, user string, password string) (err error) {
|
||||
func authSASL(socket io.ReadWriter, decoder *xml.Decoder, f StreamFeatures, user string, password string) (err error) {
|
||||
// TODO: Implement other type of SASL Authentication
|
||||
havePlain := false
|
||||
for _, m := range f.Mechanisms.Mechanism {
|
||||
|
||||
Reference in New Issue
Block a user