aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/noise.h
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
commit38c6d8f46381bb73cfbfb0593c0fa0465524d0d2 (patch)
tree55a9b8320124be5a0f0e3a19c89b5d3e9ac2d347 /src/noise.h
parentglobal: in gnu code, use un-underscored asm (diff)
downloadwireguard-monolithic-historical-38c6d8f46381bb73cfbfb0593c0fa0465524d0d2.tar.xz
wireguard-monolithic-historical-38c6d8f46381bb73cfbfb0593c0fa0465524d0d2.zip
noise: fix function prototype
Diffstat (limited to 'src/noise.h')
-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);