From 71e9127a23b2e8038ac3dde8998357ae50922372 Mon Sep 17 00:00:00 2001 From: Maxime Piraux Date: Thu, 7 Feb 2019 10:00:03 +0100 Subject: [PATCH] Removes unused var --- scenarii/key_update.go | 2 -- 1 file changed, 2 deletions(-) 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)