diff options
Diffstat (limited to 'src/tools/config.c')
-rw-r--r-- | src/tools/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/config.c b/src/tools/config.c index 611207e..55a8ab5 100644 --- a/src/tools/config.c +++ b/src/tools/config.c @@ -90,7 +90,7 @@ static inline uint16_t parse_port(const char *value) return port; } -static inline bool parse_key(uint8_t key[WG_KEY_LEN], const char *value) +static inline bool parse_key(uint8_t key[static WG_KEY_LEN], const char *value) { uint8_t tmp[WG_KEY_LEN + 1]; if (strlen(value) != b64_len(WG_KEY_LEN) - 1 || b64_pton(value, tmp, WG_KEY_LEN + 1) != WG_KEY_LEN) { |