1
0
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:
Rubidium
2024-03-15 22:36:58 +01:00
committed by rubidium42
parent fb9d4afa5c
commit dd532cbc77
5 changed files with 32 additions and 0 deletions

View File

@@ -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 {
};