summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-02-27 22:17:54 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2018-03-02 16:42:29 +0100
commit3b1eb11b525ab7538133f7f098e75c58059576aa (patch)
tree1e8bf7e20f85f6947146b42a968bc9ba95c39163
parent442242a06a459388c6edb1c7a99a99b062b20250 (diff)
noise: fix function prototype
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--src/noise.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/noise.h b/src/noise.h
index 0851770..05597cd 100644
--- a/src/noise.h
+++ b/src/noise.h
@@ -109,7 +109,7 @@ bool noise_precompute_static_static(struct wireguard_peer *peer);
bool noise_handshake_create_initiation(struct message_handshake_initiation *dst, struct noise_handshake *handshake);
struct wireguard_peer *noise_handshake_consume_initiation(struct message_handshake_initiation *src, struct wireguard_device *wg);
-bool noise_handshake_create_response(struct message_handshake_response *dst, struct noise_handshake *peer);
+bool noise_handshake_create_response(struct message_handshake_response *dst, struct noise_handshake *handshake);
struct wireguard_peer *noise_handshake_consume_response(struct message_handshake_response *src, struct wireguard_device *wg);
bool noise_handshake_begin_session(struct noise_handshake *handshake, struct noise_keypairs *keypairs);