From 38c6d8f46381bb73cfbfb0593c0fa0465524d0d2 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 27 Feb 2018 22:17:54 +0100 Subject: noise: fix function prototype --- src/noise.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-59-g8ed1b