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

Method Reply

src/network/network_crypto.cpp:440–444  ·  view source on GitHub ↗

virtual */

Source from the content-addressed store, hash-verified

438
439
440/* virtual */ void NetworkAuthenticationPasswordRequestHandler::Reply(const std::string &password)
441{
442 this->password = password;
443 this->SendResponse();
444}
445
446/**
447 * Ensures that the given secret key is valid, and when not overwrite it with a valid secret key. Then update the public key to be associated with the secret key.

Callers 3

OnQueryTextFinishedMethod · 0.80
AskUserForPasswordMethod · 0.80
AskUserForPasswordMethod · 0.80

Calls 1

SendResponseMethod · 0.45

Tested by 1

AskUserForPasswordMethod · 0.64