diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-15 14:14:11 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-15 14:14:11 -0400 |
commit | 1e4e9db8157e8691327fe9ee9de5df6fe9891040 (patch) | |
tree | 226289f2b748155beb81c0af86d6f66af3fb4184 /src/or/or.h | |
parent | b8ae4111e38bc9cf6ac395b78601c150f710936f (diff) | |
download | tor-1e4e9db8157e8691327fe9ee9de5df6fe9891040.tar.gz tor-1e4e9db8157e8691327fe9ee9de5df6fe9891040.zip |
Extract authority_cert_t into its own header
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/or/or.h b/src/or/or.h index a8ddcd2406..1f7c4be507 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1911,24 +1911,7 @@ typedef struct extend_info_t { curve25519_public_key_t curve25519_onion_key; } extend_info_t; -/** Certificate for v3 directory protocol: binds long-term authority identity - * keys to medium-term authority signing keys. */ -typedef struct authority_cert_t { - /** Information relating to caching this cert on disk and looking it up. */ - signed_descriptor_t cache_info; - /** This authority's long-term authority identity key. */ - crypto_pk_t *identity_key; - /** This authority's medium-term signing key. */ - crypto_pk_t *signing_key; - /** The digest of <b>signing_key</b> */ - char signing_key_digest[DIGEST_LEN]; - /** The listed expiration time of this certificate. */ - time_t expires; - /** This authority's IPv4 address, in host order. */ - uint32_t addr; - /** This authority's directory port. */ - uint16_t dir_port; -} authority_cert_t; +typedef struct authority_cert_t authority_cert_t; /** Bitfield enum type listing types of information that directory authorities * can be authoritative about, and that directory caches may or may not cache. |