Skip to content

Commit 448fec0

Browse files
author
Grigory Aksentyev
committed
revert fix sasl empty payload
1 parent 0f981c2 commit 448fec0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/sasl/sasl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ func (ss *saslSession) Step(serverData []byte) (clientData []byte, done bool, er
128128
return clientData, false, nil
129129
}
130130

131-
return []byte{}, false, saslError(rc, ss.conn, "cannot establish SASL session")
131+
return nil, false, saslError(rc, ss.conn, "cannot establish SASL session")
132132
}
133133

134134
func saslError(rc C.int, conn *C.sasl_conn_t, msg string) error {

0 commit comments

Comments
 (0)