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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user