summaryrefslogtreecommitdiffhomepage
path: root/src
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
commitd9874d8733b91ff0a1847ebf402c6b87cbbe3fce (patch)
treefa12dd82359a488b4534183e5f5604a9e33592f8 /src
parentc227209268ad270a5a83fb98879d0142c2298c67 (diff)
noise: align static_identity keys
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src')
-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 {