Skip to content

Commit

Permalink
quic: remove stray debugging print
Browse files Browse the repository at this point in the history
For golang/go#58547

Change-Id: Ieca0569b23972d581e3bfc828c28eb2929f62c25
Reviewed-on: https://go-review.googlesource.com/c/net/+/504616
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
  • Loading branch information
neild committed Jun 21, 2023
1 parent 5d50b40 commit c8a2c5a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/quic/packet_protection.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ func (k keys) protect(hdr, pay []byte, pnumOff int, pnum packetNumber) []byte {
// the unprotected payload and packet number.
func (k keys) unprotect(pkt []byte, pnumOff int, pnumMax packetNumber) (pay []byte, num packetNumber, err error) {
if len(pkt) < pnumOff+4+headerProtectionSampleSize {
fmt.Println("too short")
return nil, 0, errInvalidPacket
}
numpay := pkt[pnumOff:]
Expand Down

0 comments on commit c8a2c5a

Please sign in to comment.