diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-05-22 18:52:32 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-05-22 18:52:32 +0000 |
commit | 38300735cdd301ac8491c7a1368acb72fe2c3ee7 (patch) | |
tree | 3603b000ddd2d32439184e190915a5fd50544a24 /src/or/router.c | |
parent | 9e0acc0c11877d4df2db0b1fda0b998c5e9231bf (diff) | |
download | tor-38300735cdd301ac8491c7a1368acb72fe2c3ee7.tar.gz tor-38300735cdd301ac8491c7a1368acb72fe2c3ee7.zip |
r12902@catbus: nickm | 2007-05-22 14:52:29 -0400
First draft of code to generate votes. needs testing. does not yet upload or serve votes. Shares most of its code with the old generate_v2_networkstatus.
svn:r10295
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/or/router.c b/src/or/router.c index 1cae710df9..7b299958e0 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -122,6 +122,20 @@ identity_key_is_set(void) return identitykey != NULL; } +/** DOCDOC */ +authority_cert_t * +get_my_v3_authority_cert(void) +{ + return authority_key_certificate; +} + +/** DOCDOC */ +crypto_pk_env_t * +get_my_v3_authority_signing_key(void) +{ + return authority_signing_key; +} + /** Replace the previous onion key with the current onion key, and generate * a new previous onion key. Immediately after calling this function, * the OR should: |