forked from quic-go/quic-go
use in-place decryption when unpacking
This commit is contained in:
@@ -38,7 +38,7 @@ func (*mockConnection) IP() net.IP { return nil }
|
||||
|
||||
type mockUnpacker struct{}
|
||||
|
||||
func (m *mockUnpacker) Unpack(publicHeaderBinary []byte, hdr *publicHeader, r *bytes.Reader) (*unpackedPacket, error) {
|
||||
func (m *mockUnpacker) Unpack(publicHeaderBinary []byte, hdr *publicHeader, data []byte) (*unpackedPacket, error) {
|
||||
return &unpackedPacket{
|
||||
entropyBit: false,
|
||||
frames: nil,
|
||||
|
||||
Reference in New Issue
Block a user