diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-10-20 02:37:04 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-10-20 02:37:04 +0200 |
commit | 8cbd59792e7f03de927593994fb85466b7432d39 (patch) | |
tree | 491580d96b29cbf1d95e958548b2f4454bbbd878 /src/handshake.h | |
parent | e4afa048704f2db3ff1e0e5e3a5fe27b334fcdd5 (diff) | |
download | fastd-8cbd59792e7f03de927593994fb85466b7432d39.tar fastd-8cbd59792e7f03de927593994fb85466b7432d39.zip |
Refactor handshake code, prevent downgrade attacks
Diffstat (limited to 'src/handshake.h')
-rw-r--r-- | src/handshake.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handshake.h b/src/handshake.h index 5abd0e3..ea4ec73 100644 --- a/src/handshake.h +++ b/src/handshake.h @@ -78,7 +78,7 @@ struct fastd_handshake { fastd_buffer_t fastd_handshake_new_init(fastd_context_t *ctx, size_t tail_space); -fastd_buffer_t fastd_handshake_new_reply(fastd_context_t *ctx, const fastd_handshake_t *handshake, const fastd_method_t *method, size_t tail_space); +fastd_buffer_t fastd_handshake_new_reply(fastd_context_t *ctx, const fastd_handshake_t *handshake, const fastd_method_t *method, bool with_method_list, size_t tail_space); void fastd_handshake_handle(fastd_context_t *ctx, fastd_socket_t *sock, const fastd_peer_address_t *local_addr, const fastd_peer_address_t *remote_addr, fastd_peer_t *peer, fastd_buffer_t buffer); |