aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.h
diff options
context:
space:
mode:
authorRobert Ransom <rransom.8774@gmail.com>2010-10-03 22:38:53 -0700
committerRobert Ransom <rransom.8774@gmail.com>2010-10-04 21:51:53 -0700
commita2bb0bfdd5731ef3cebf6e14fa7bebb98d5f2d8f (patch)
tree79ff1358306000c378f020da4bdb3a0483e38bb1 /src/or/router.h
parent17efbe031d4b96d872b2e0bdf3785b232f49bf44 (diff)
downloadtor-a2bb0bfdd5731ef3cebf6e14fa7bebb98d5f2d8f.tar.gz
tor-a2bb0bfdd5731ef3cebf6e14fa7bebb98d5f2d8f.zip
Maintain separate server and client identity keys when appropriate.
Fixes a bug described in ticket #988.
Diffstat (limited to 'src/or/router.h')
-rw-r--r--src/or/router.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/or/router.h b/src/or/router.h
index 4107c717c3..125fa653d6 100644
--- a/src/or/router.h
+++ b/src/or/router.h
@@ -14,9 +14,12 @@
crypto_pk_env_t *get_onion_key(void);
time_t get_onion_key_set_at(void);
-void set_identity_key(crypto_pk_env_t *k);
-crypto_pk_env_t *get_identity_key(void);
-int identity_key_is_set(void);
+void set_server_identity_key(crypto_pk_env_t *k);
+crypto_pk_env_t *get_server_identity_key(void);
+int server_identity_key_is_set(void);
+void set_client_identity_key(crypto_pk_env_t *k);
+crypto_pk_env_t *get_client_identity_key(void);
+int client_identity_key_is_set(void);
authority_cert_t *get_my_v3_authority_cert(void);
crypto_pk_env_t *get_my_v3_authority_signing_key(void);
authority_cert_t *get_my_v3_legacy_cert(void);