correct reply key for short tunnel build record

This commit is contained in:
orignal 2021-07-20 18:02:48 -04:00
parent 4807092df6
commit c2334db8f8

View File

@ -686,7 +686,7 @@ namespace i2p
}
}
else
i2p::crypto::ChaCha20 (reply, SHORT_TUNNEL_BUILD_RECORD_SIZE, noiseState.m_CK, nonce, reply);
i2p::crypto::ChaCha20 (reply, SHORT_TUNNEL_BUILD_RECORD_SIZE, replyKey, nonce, reply);
reply += SHORT_TUNNEL_BUILD_RECORD_SIZE;
}
// send reply