diff options
author | Roger Dingledine <arma@torproject.org> | 2013-03-09 16:42:35 -0500 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2013-03-10 23:38:18 -0400 |
commit | 599aeef9bc9e707ec7146da79b2018bf2f2924b3 (patch) | |
tree | 423e03ae6c7e8cafb03da8f69f91e6f6ba72d20f /src/or/or.h | |
parent | e270a066a6262784be317f003f6102430db24880 (diff) | |
download | tor-599aeef9bc9e707ec7146da79b2018bf2f2924b3.tar.gz tor-599aeef9bc9e707ec7146da79b2018bf2f2924b3.zip |
parameterize SSLKeyLifetime
no actual changes in behavior yet
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h index c2cd8a6cae..a71468c1c6 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -177,8 +177,6 @@ #define MIN_ONION_KEY_LIFETIME (7*24*60*60) /** How often do we rotate TLS contexts? */ #define MAX_SSL_KEY_LIFETIME_INTERNAL (2*60*60) -/** What expiry time shall we place on our SSL certs? */ -#define MAX_SSL_KEY_LIFETIME_ADVERTISED (365*24*60*60) /** How old do we allow a router to get before removing it * from the router list? In seconds. */ @@ -4010,6 +4008,9 @@ typedef struct { */ int DisableV2DirectoryInfo_; + /** What expiry time shall we place on our SSL certs? */ + int SSLKeyLifetime; + } or_options_t; /** Persistent state for an onion router, as saved to disk. */ |