diff options
author | meejah <meejah@meejah.ca> | 2014-12-10 22:30:14 -0700 |
---|---|---|
committer | meejah <meejah@meejah.ca> | 2014-12-11 18:43:51 -0700 |
commit | 76753efd7b9fd08fa6b88d096e85f0ff798f2939 (patch) | |
tree | 0c6d3b1bb32f9c0359fa0e749ad3cc8cead532f0 /src/or/router.h | |
parent | b73a7600afd4b1f13ac985df27cb703bd3ad427d (diff) | |
download | tor-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/router.h')
-rw-r--r-- | src/or/router.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.h b/src/or/router.h index 16d3845be1..b5d7f11053 100644 --- a/src/or/router.h +++ b/src/or/router.h @@ -29,7 +29,7 @@ crypto_pk_t *get_my_v3_legacy_signing_key(void); void dup_onion_keys(crypto_pk_t **key, crypto_pk_t **last); void rotate_onion_key(void); crypto_pk_t *init_key_from_file(const char *fname, int generate, - int severity); + int severity, int log_greeting); void v3_authority_check_key_expiry(void); di_digest256_map_t *construct_ntor_key_map(void); |