privatize publicHeader

ref #60
This commit is contained in:
Lucas Clemente 2016-05-15 15:44:14 +02:00
parent caec66b927
commit 9cc4bb3ccf
10 changed files with 89 additions and 89 deletions

View file

@ -14,7 +14,7 @@ import (
var _ = Describe("Packet unpacker", func() {
var (
unpacker *packetUnpacker
hdr *PublicHeader
hdr *publicHeader
hdrBin []byte
aead crypto.AEAD
r *bytes.Reader
@ -23,7 +23,7 @@ var _ = Describe("Packet unpacker", func() {
BeforeEach(func() {
aead = &crypto.NullAEAD{}
hdr = &PublicHeader{
hdr = &publicHeader{
PacketNumber: 10,
PacketNumberLen: 1,
}