summaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
authormeejah <meejah@meejah.ca>2014-12-10 22:30:14 -0700
committermeejah <meejah@meejah.ca>2014-12-11 18:43:51 -0700
commit76753efd7b9fd08fa6b88d096e85f0ff798f2939 (patch)
tree0c6d3b1bb32f9c0359fa0e749ad3cc8cead532f0 /src/or/rendservice.c
parentb73a7600afd4b1f13ac985df27cb703bd3ad427d (diff)
downloadtor-76753efd7b9fd08fa6b88d096e85f0ff798f2939.tar.gz
tor-76753efd7b9fd08fa6b88d096e85f0ff798f2939.zip
Fix 13941: make calling log_new_relay_greeting() optional.
Specifically, only if we're creating secret_id_key do we log the greeting (and then only if the key is actually created).
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r--src/or/rendservice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 26e5659123..5766cfc78d 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -738,7 +738,7 @@ rend_service_load_keys(rend_service_t *s)
s->directory);
return -1;
}
- s->private_key = init_key_from_file(fname, 1, LOG_ERR);
+ s->private_key = init_key_from_file(fname, 1, LOG_ERR, 0);
if (!s->private_key)
return -1;