aboutsummaryrefslogtreecommitdiffstats
path: root/src/wg_noise.h
diff options
context:
space:
mode:
authorMatt Dunwoodie <ncon@noconroy.net>2021-04-20 10:28:17 +1000
committerMatt Dunwoodie <ncon@noconroy.net>2021-04-20 10:52:36 +1000
commita0261bb3935de89ba8a8218e83eefcc5f54b567b (patch)
tree1f0cc05ef2fd6b18e1b87a55107ed96100479be0 /src/wg_noise.h
parentwg_noise: use sbintime_t instead of timespec (diff)
downloadwireguard-freebsd-a0261bb3935de89ba8a8218e83eefcc5f54b567b.tar.xz
wireguard-freebsd-a0261bb3935de89ba8a8218e83eefcc5f54b567b.zip
wg_noise: check keypair recvwith after nonce
Signed-off-by: Matt Dunwoodie <ncon@noconroy.net>
Diffstat (limited to 'src/wg_noise.h')
-rw-r--r--src/wg_noise.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wg_noise.h b/src/wg_noise.h
index a6de34b..d70d0be 100644
--- a/src/wg_noise.h
+++ b/src/wg_noise.h
@@ -75,6 +75,7 @@ struct noise_keypair *
noise_keypair_current(struct noise_remote *);
struct noise_keypair *
noise_keypair_ref(struct noise_keypair *);
+int noise_keypair_received_with(struct noise_keypair *);
void noise_keypair_put(struct noise_keypair *);
struct noise_remote *