Mercurial > dropbear
comparison sysoptions.h @ 887:0459ff21e320
Back out accidentally committed files
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 23 Jan 2014 22:29:04 +0800 |
parents | cbc73a5aefb0 |
children | 49ed526daedc |
comparison
equal
deleted
inserted
replaced
886:cbc73a5aefb0 | 887:0459ff21e320 |
---|---|
14 * is a bit too verbose, so we try 8 hours */ | 14 * is a bit too verbose, so we try 8 hours */ |
15 #ifndef KEX_REKEY_TIMEOUT | 15 #ifndef KEX_REKEY_TIMEOUT |
16 #define KEX_REKEY_TIMEOUT (3600 * 8) | 16 #define KEX_REKEY_TIMEOUT (3600 * 8) |
17 #endif | 17 #endif |
18 #ifndef KEX_REKEY_DATA | 18 #ifndef KEX_REKEY_DATA |
19 #define KEX_REKEY_DATA (1<<20) /* 2^30 == 1GB, this value must be < INT_MAX */ | 19 #define KEX_REKEY_DATA (1<<30) /* 2^30 == 1GB, this value must be < INT_MAX */ |
20 #endif | 20 #endif |
21 /* Close connections to clients which haven't authorised after AUTH_TIMEOUT */ | 21 /* Close connections to clients which haven't authorised after AUTH_TIMEOUT */ |
22 #ifndef AUTH_TIMEOUT | 22 #ifndef AUTH_TIMEOUT |
23 #define AUTH_TIMEOUT 300 /* we choose 5 minutes */ | 23 #define AUTH_TIMEOUT 300 /* we choose 5 minutes */ |
24 #endif | 24 #endif |