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

Method SendRequest

src/network/network_crypto.cpp:190–194  ·  view source on GitHub ↗

virtual */

Source from the content-addressed store, hash-verified

188}
189
190/* virtual */ void X25519AuthenticationHandler::SendRequest(Packet &p)
191{
192 p.Send_bytes(this->our_public_key);
193 p.Send_bytes(this->key_exchange_nonce);
194}
195
196/**
197 * Read the key exchange data from a \c Packet that came from the server,

Callers 3

SendAuthRequestMethod · 0.45
SendAuthRequestMethod · 0.45
TestAuthenticationFunction · 0.45

Calls 5

to_underlyingFunction · 0.85
Send_bytesMethod · 0.80
GetNameMethod · 0.45
Send_uint8Method · 0.45

Tested by 1

TestAuthenticationFunction · 0.36