The unified diff between revisions [869f0c37..] and [e24ccc23..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'constants.cc'
# # # patch "constants.cc" # from [eabc0d5838a67e3e4d351ce3d28eac0387f773ae] # to [2258f6165b6db8f8c952f97aaacf0addbbed060f] # ============================================================ --- constants.cc eabc0d5838a67e3e4d351ce3d28eac0387f773ae +++ constants.cc 2258f6165b6db8f8c952f97aaacf0addbbed060f @@ -160,5 +160,9 @@ namespace constants size_t const netsync_default_port = 5253; size_t const netsync_connection_limit = 1024; size_t const netsync_timeout_seconds = 21600; // 6 hours + size_t const netsync_session_key_length_in_bytes = 20; // 160 bits + size_t const netsync_hmac_value_length_in_bytes = 20; // 160 bits + std::string const & netsync_key_initializer = std::string(netsync_session_key_length_in_bytes, 0); + }