Skip to content

Commit

Permalink
Update transport/tlsfrag/buffer.go
Browse files Browse the repository at this point in the history
Co-authored-by: Vinicius Fortuna <[email protected]>
  • Loading branch information
jyyi1 and fortuna authored Nov 17, 2023
1 parent 4f00ec8 commit edb97bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transport/tlsfrag/buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func newClientHelloBuffer() *clientHelloBuffer {

// Bytes returns the full Client Hello packet including both the 5 bytes header and the content.
func (b *clientHelloBuffer) Bytes() []byte {
return b.data[:b.len]
return b.data
}

// Write appends p to the buffer and returns the number of bytes actually used.
Expand Down

0 comments on commit edb97bb

Please sign in to comment.