aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2011-09-13 18:32:00 -0400
committerRoger Dingledine <arma@torproject.org>2011-09-13 18:32:00 -0400
commit1fcaeb60924d155e80a9579588a1b6c31e2174f7 (patch)
tree274aa165a9ade0fbf3b9b1ce940d2e91c531d96a /src/or/router.c
parent1e1cc43b5723008dc6ec19188b1613c3682c36d3 (diff)
parent4a351b4b9ebfadf27d68e6bb3e1470cdef83ef45 (diff)
downloadtor-1fcaeb60924d155e80a9579588a1b6c31e2174f7.tar
tor-1fcaeb60924d155e80a9579588a1b6c31e2174f7.tar.gz
Merge branch 'maint-0.2.2'
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/router.c b/src/or/router.c
index ba6648ba6..c9f141b7f 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -533,7 +533,7 @@ init_keys(void)
if (tor_tls_context_init(0,
get_tlsclient_identity_key(),
NULL,
- MAX_SSL_KEY_LIFETIME) < 0) {
+ MAX_SSL_KEY_LIFETIME_ADVERTISED) < 0) {
log_err(LD_GENERAL,"Error creating TLS context for Tor client.");
return -1;
}
@@ -629,7 +629,7 @@ init_keys(void)
if (tor_tls_context_init(public_server_mode(options),
get_tlsclient_identity_key(),
get_server_identity_key(),
- MAX_SSL_KEY_LIFETIME) < 0) {
+ MAX_SSL_KEY_LIFETIME_ADVERTISED) < 0) {
log_err(LD_GENERAL,"Error initializing TLS context");
return -1;
}