]> git.deb.at Git - rhonda/impostor.hazel.git/commit
Do not generate ClientRandom on ClientHello resend
authorMatthew Endsley <mendsley@gmail.com>
Fri, 2 Apr 2021 01:10:37 +0000 (18:10 -0700)
committerMatthew Endsley <mendsley@gmail.com>
Fri, 2 Apr 2021 01:12:29 +0000 (18:12 -0700)
commit105f4b72e29eb999e3bbee5d1e6c2732f9d1e36f
tree80b882e0f18f7109fcdfde8b6be1d1d40700a867
parent50e63289d9d7bdfd5cd62ebc50f4fa276b38f116
Do not generate ClientRandom on ClientHello resend

This buffer should only be generated at the start of the session.
Re-generating it on resend of ClientHello will desynchronize the session
between the client and server, resulting in the server refusing the
client's connection due to a hash mismatch in the Finished handshake
message.
Hazel/Dtls/DtlsUnityConnection.cs