Codefix: stdafx.h and safeguards.h should be the first and last include in every source file, and not appear in any header file.

This commit is contained in:
frosch
2025-04-20 19:14:28 +02:00
committed by frosch
parent 54de376c55
commit 461b73e21b
29 changed files with 34 additions and 16 deletions
+2
View File
@@ -16,6 +16,8 @@
#include "../network/core/packet.h"
#include "../string_func.h"
#include "../safeguards.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);
static_assert(NETWORK_PUBLIC_KEY_LENGTH >= X25519_KEY_SIZE * 2 + 1);