aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-10-19 16:28:10 +0000
committerNick Mathewson <nickm@torproject.org>2007-10-19 16:28:10 +0000
commit106e01db3de223ad2ff26254915792b40420362a (patch)
treed8fb4dbb03fbc958175d954603dede89e71d11ff /src/or/or.h
parentfb295ba4dde82922ce50475b165b3732e3a2042f (diff)
downloadtor-106e01db3de223ad2ff26254915792b40420362a.tar
tor-106e01db3de223ad2ff26254915792b40420362a.tar.gz
r15956@catbus: nickm | 2007-10-19 11:18:14 -0400
Encode address in certificates. Also, make it possible to create certs reusing an old key. svn:r12046
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index afee5ce8d..971732c61 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1475,6 +1475,8 @@ typedef struct authority_cert_t {
crypto_pk_env_t *signing_key;
char signing_key_digest[DIGEST_LEN];
time_t expires;
+ uint32_t addr;
+ uint16_t dir_port;
} authority_cert_t;
/** Bitfield enum type listing types of directory authority/directory