aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-02-28 01:49:45 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2018-03-02 16:42:29 +0100
commit4d2d39506b67ae30254e5f3ab6ee9d930224318a (patch)
tree776d56ac6b6259e2934dba34293ed3cc8eb8989a
parentcompat: use correct -include path (diff)
downloadwireguard-monolithic-historical-4d2d39506b67ae30254e5f3ab6ee9d930224318a.tar.xz
wireguard-monolithic-historical-4d2d39506b67ae30254e5f3ab6ee9d930224318a.zip
noise: align static_identity keys
-rw-r--r--src/noise.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/noise.h b/src/noise.h
index 05597cd..5eb3a88 100644
--- a/src/noise.h
+++ b/src/noise.h
@@ -54,10 +54,10 @@ struct noise_keypairs {
};
struct noise_static_identity {
- bool has_identity;
u8 static_public[NOISE_PUBLIC_KEY_LEN];
u8 static_private[NOISE_PUBLIC_KEY_LEN];
struct rw_semaphore lock;
+ bool has_identity;
};
enum noise_handshake_state {