rename the wire.Header to ExtendedHeader

It's not encrypted yet.
This commit is contained in:
Marten Seemann 2018-11-20 17:11:27 +07:00
parent cef26922b4
commit bf96707f48
17 changed files with 92 additions and 93 deletions

View file

@ -15,13 +15,13 @@ import (
var _ = Describe("Packet Unpacker", func() {
var (
unpacker *packetUnpacker
hdr *wire.Header
hdr *wire.ExtendedHeader
aead *MockQuicAEAD
)
BeforeEach(func() {
aead = NewMockQuicAEAD(mockCtrl)
hdr = &wire.Header{
hdr = &wire.ExtendedHeader{
PacketNumber: 10,
PacketNumberLen: 1,
Raw: []byte{0x04, 0x4c, 0x01},