diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-08-04 20:02:51 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-08-04 20:29:48 +0200 |
commit | 56c62a67e844458fdb7543702481aceb58056594 (patch) | |
tree | c1682e7399de806c4ad3ce163876cf1da8c0b954 /src/noise.h | |
parent | 70e574e19b16134feef866b38b1593e6045a6708 (diff) |
noise: infer initiator or not from handshake state
Suggested-by: Mathias Hall-Andersen <mathias@hall-andersen.dk>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/noise.h')
-rw-r--r-- | src/noise.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/noise.h b/src/noise.h index c2d7e63..2024b80 100644 --- a/src/noise.h +++ b/src/noise.h @@ -117,6 +117,6 @@ struct wireguard_peer *noise_handshake_consume_initiation(struct message_handsha bool noise_handshake_create_response(struct message_handshake_response *dst, struct noise_handshake *peer); 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, bool i_am_the_initiator); +bool noise_handshake_begin_session(struct noise_handshake *handshake, struct noise_keypairs *keypairs); #endif |