Do not expect authentication when client forbid insecure auth

This commit is contained in:
Mickael Remond 2017-10-21 15:23:11 +02:00
parent 1154df3f97
commit 083b9c7755
No known key found for this signature in database
GPG Key ID: E6F6045D79965AA3

View File

@ -81,11 +81,8 @@ func handlerConnectSuccess(t *testing.T, c net.Conn) {
// We expect client will abort on TLS // We expect client will abort on TLS
func handlerAbortTLS(t *testing.T, c net.Conn) { func handlerAbortTLS(t *testing.T, c net.Conn) {
decoder := xml.NewDecoder(c) decoder := xml.NewDecoder(c)
checkOpenStream(t, c, decoder) checkOpenStream(t, c, decoder)
sendStreamFeatures(t, c, decoder) // Send initial features sendStreamFeatures(t, c, decoder) // Send initial features
readAuth(t, decoder)
} }
func checkOpenStream(t *testing.T, c net.Conn, decoder *xml.Decoder) { func checkOpenStream(t *testing.T, c net.Conn, decoder *xml.Decoder) {