MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / SendEnableEncryption

Method SendEnableEncryption

src/network/network_crypto.cpp:253–256  ·  view source on GitHub ↗

* Send the initial nonce for the encrypted connection. * @param p The packet to send the data in. */

Source from the content-addressed store, hash-verified

251 * @param p The packet to send the data in.
252 */
253void X25519AuthenticationHandler::SendEnableEncryption(struct Packet &p) const
254{
255 p.Send_bytes(this->encryption_nonce);
256}
257
258/**
259 * Receive the initial nonce for the encrypted connection.

Callers

nothing calls this directly

Calls 1

Send_bytesMethod · 0.80

Tested by

no test coverage detected