aboutsummaryrefslogtreecommitdiff
path: root/src/feature/relay/router.h
diff options
context:
space:
mode:
authortrinity-1686a <trinity@deuxfleurs.fr>2023-07-16 22:29:23 +0200
committertrinity-1686a <trinity@deuxfleurs.fr>2023-07-16 22:29:23 +0200
commit9ea80b465f474e9e70d907a4d3f3638b65688e89 (patch)
tree3dc20b5b502f8023b694d96cfd0d2c3ef5d0272c /src/feature/relay/router.h
parent22757dbb532a23cc6e3a0121df3f2f5c894c7580 (diff)
downloadtor-9ea80b465f474e9e70d907a4d3f3638b65688e89.tar.gz
tor-9ea80b465f474e9e70d907a4d3f3638b65688e89.zip
fix non-fatal assertion when rotate_onion_key fails
Diffstat (limited to 'src/feature/relay/router.h')
-rw-r--r--src/feature/relay/router.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/relay/router.h b/src/feature/relay/router.h
index b5b5a1fffa..f201fdbd63 100644
--- a/src/feature/relay/router.h
+++ b/src/feature/relay/router.h
@@ -45,7 +45,7 @@ authority_cert_t *get_my_v3_legacy_cert(void);
crypto_pk_t *get_my_v3_legacy_signing_key(void);
void dup_onion_keys(crypto_pk_t **key, crypto_pk_t **last);
void expire_old_onion_keys(void);
-void rotate_onion_key(void);
+bool rotate_onion_key(void);
void v3_authority_check_key_expiry(void);
int get_onion_key_lifetime(void);
int get_onion_key_grace_period(void);