aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/pubkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/pubkey.c')
-rw-r--r--src/tools/pubkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/pubkey.c b/src/tools/pubkey.c
index cf8e256..9741bcf 100644
--- a/src/tools/pubkey.c
+++ b/src/tools/pubkey.c
@@ -13,7 +13,7 @@
int pubkey_main(int argc, char *argv[])
{
- uint8_t key[WG_KEY_LEN];
+ uint8_t key[WG_KEY_LEN] __attribute__((aligned(sizeof(uintptr_t))));
char base64[WG_KEY_LEN_BASE64];
int trailing_char;