diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-02-23 20:16:13 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-02-23 20:16:13 +0100 |
commit | 54c6ff1c419fffcb12ae33e45208b6dbe8914c02 (patch) | |
tree | 2b09b7804d19871551b763bdcede76e414d09281 /src/fastd.h | |
parent | 48a3812435c15c77c1ae752322cff63c8e0b092d (diff) | |
download | fastd-54c6ff1c419fffcb12ae33e45208b6dbe8914c02.tar fastd-54c6ff1c419fffcb12ae33e45208b6dbe8914c02.zip |
Subtract splay time to key refresh interval
A random splay time of up to 5 minutes will ensure that simultaneous handshakes
with many peers are desynchronized as fast as possible.
Diffstat (limited to 'src/fastd.h')
-rw-r--r-- | src/fastd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fastd.h b/src/fastd.h index 3ebb44f..8b6eb7e 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -208,6 +208,7 @@ struct fastd_config { char *secret; unsigned key_valid; unsigned key_refresh; + unsigned key_refresh_splay; #ifdef USE_CRYPTO_AES128CTR const fastd_crypto_aes128ctr_t *crypto_aes128ctr; |