mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 20:49:11 +00:00
Codechange: add setting for authorized/secret/public keys
This commit is contained in:
@@ -16,6 +16,9 @@
|
||||
#include "../network/core/packet.h"
|
||||
#include "../string_func.h"
|
||||
|
||||
/* The length of the hexadecimal representation of a X25519 key must fit in the key length. */
|
||||
static_assert(NETWORK_SECRET_KEY_LENGTH >= X25519_KEY_SIZE * 2 + 1);
|
||||
|
||||
class MockNetworkSocketHandler : public NetworkSocketHandler {
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user