mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-02-09 09:45:44 -05:00
comments
This commit is contained in:
@@ -232,6 +232,7 @@ func NewAuthenticationWriter(auth Authenticator, writer io.Writer, sizeMask Uint
|
||||
}
|
||||
}
|
||||
|
||||
// Write implements io.Writer.
|
||||
func (w *AuthenticationWriter) Write(b []byte) (int, error) {
|
||||
cipherChunk, err := w.auth.Seal(w.buffer[2:2], b)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user