Skip to content

Commit

Permalink
Removes unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiraux committed Feb 7, 2019
1 parent b257a1d commit 71e9127
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scenarii/key_update.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ func (s *KeyUpdateScenario) Run(conn *qt.Connection, trace *qt.Trace, preferredU
}
defer connAgents.CloseConnection(false, 0, "")

incPackets := conn.IncomingPackets.RegisterNewChan(1000)

// TODO: Move this to crypto.go
readSecret := conn.Tls.HkdfExpandLabel(conn.Tls.ProtectedReadSecret(), "traffic upd", nil, conn.Tls.HashDigestSize(), pigotls.BaseLabel)
writeSecret := conn.Tls.HkdfExpandLabel(conn.Tls.ProtectedWriteSecret(), "traffic upd", nil, conn.Tls.HashDigestSize(), pigotls.BaseLabel)
Expand Down

0 comments on commit 71e9127

Please sign in to comment.