diff --git a/srtcore/crypto.cpp b/srtcore/crypto.cpp index 1cb823faf..cf691b90b 100644 --- a/srtcore/crypto.cpp +++ b/srtcore/crypto.cpp @@ -125,8 +125,6 @@ int srt::CCryptoControl::processSrtMsg_KMREQ( HtoNLA((pw_srtdata_out), srtdata, w_srtlen); unsigned char* kmdata = reinterpret_cast(pw_srtdata_out); - std::vector kmcopy(kmdata, kmdata + bytelen); - // The side that has received KMREQ is always an HSD_RESPONDER, regardless of // what has called this function. The HSv5 handshake only enforces bidirectional // connection.