kx: drop the advertisement echo

signed_version settles the server's version inside the key exchange, so
an echo of it on the messages after has nothing left to confirm. With it
go RendezvousMessage.kx_advertised, the check the transport ran on each
decrypted frame, and the tests of both.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019aokqJuhjvB3kijXtAg5Ns
This commit is contained in:
rustdeskandClaude Fable 5.1 committed 2026-09-22 17:22:01 +08:00
1 parent e3452acf59
commit 5194159858
4 files changed
+5 -122

No files matched your search

-3
View File
@@ -299,7 +299,4 @@ message RendezvousMessage {
HttpProxyResponse http_proxy_response = 28;
IceCandidate ice_candidate = 29;
}
// From the server, on every message after a key exchange: the version it advertised.
// Absent from servers that predate versions.
uint32 kx_advertised = 30;
}