aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerinfo_st.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/routerinfo_st.h')
-rw-r--r--src/or/routerinfo_st.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/routerinfo_st.h b/src/or/routerinfo_st.h
index feb3b41fc6..89a7702b30 100644
--- a/src/or/routerinfo_st.h
+++ b/src/or/routerinfo_st.h
@@ -9,6 +9,8 @@
#include "or/signed_descriptor_st.h"
+struct curve25519_public_key_t;
+
/** Information about another onion router in the network. */
struct routerinfo_t {
signed_descriptor_t cache_info;
@@ -28,7 +30,7 @@ struct routerinfo_t {
crypto_pk_t *onion_pkey; /**< Public RSA key for onions. */
crypto_pk_t *identity_pkey; /**< Public RSA key for signing. */
/** Public curve25519 key for onions */
- curve25519_public_key_t *onion_curve25519_pkey;
+ struct curve25519_public_key_t *onion_curve25519_pkey;
/** What's the earliest expiration time on all the certs in this
* routerinfo? */
time_t cert_expiration_time;
@@ -104,4 +106,3 @@ struct routerinfo_t {
};
#endif
-