diff --git a/internal/handshake/crypto_setup.go b/internal/handshake/crypto_setup.go index 0ea25c20..2675c131 100644 --- a/internal/handshake/crypto_setup.go +++ b/internal/handshake/crypto_setup.go @@ -327,7 +327,6 @@ func (h *cryptoSetup) handleMessageForServer(msgType messageType) bool { return false } // get the handshake read key - // TODO: check that the initial stream doesn't have any more data select { case <-h.receivedReadKey: case <-h.handshakeErrChan: