diff --git a/scenarii/key_update.go b/scenarii/key_update.go index d39518a..cb90c34 100644 --- a/scenarii/key_update.go +++ b/scenarii/key_update.go @@ -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)