From 3b1eb11b525ab7538133f7f098e75c58059576aa 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 Signed-off-by: Jason A. Donenfeld --- src/noise.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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