network: make wireguard_decode_key_and_warn() take uint8_t buf[static WG_KEY_LEN]

This commit is contained in:
Yu Watanabe
2019-04-09 15:50:23 +09:00
parent 26f86d500e
commit 2b942a926c
+1 -1
View File
@@ -474,7 +474,7 @@ int config_parse_wireguard_listen_port(
static int wireguard_decode_key_and_warn(
const char *rvalue,
uint8_t *ret,
uint8_t ret[static WG_KEY_LEN],
const char *unit,
const char *filename,
unsigned line,