aboutsummaryrefslogtreecommitdiff
path: root/src/or/onion_ntor.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-01 12:06:52 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-01 15:20:37 -0400
commit500826479aaf7d398f576fabbfdf34b17604f646 (patch)
tree7ff2846edd13a49592cccf01aff89bb6ea95543f /src/or/onion_ntor.h
parent471104eaa5e7fbe1b5a32b8be388daae328abd4a (diff)
downloadtor-500826479aaf7d398f576fabbfdf34b17604f646.tar.gz
tor-500826479aaf7d398f576fabbfdf34b17604f646.zip
Remove other needless includes include from or/*.h
Diffstat (limited to 'src/or/onion_ntor.h')
-rw-r--r--src/or/onion_ntor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/onion_ntor.h b/src/or/onion_ntor.h
index b4da3a8d79..4855f9819e 100644
--- a/src/or/onion_ntor.h
+++ b/src/or/onion_ntor.h
@@ -6,7 +6,8 @@
#include "lib/cc/torint.h"
#include "lib/crypt_ops/crypto_curve25519.h"
-#include "lib/ctime/di_ops.h"
+
+struct di_digest256_map_t;
/** State to be maintained by a client between sending an ntor onionskin
* and receiving a reply. */
@@ -27,7 +28,7 @@ int onion_skin_ntor_create(const uint8_t *router_id,
uint8_t *onion_skin_out);
int onion_skin_ntor_server_handshake(const uint8_t *onion_skin,
- const di_digest256_map_t *private_keys,
+ const struct di_digest256_map_t *private_keys,
const curve25519_keypair_t *junk_keypair,
const uint8_t *my_node_id,
uint8_t *handshake_reply_out,
@@ -60,4 +61,3 @@ struct ntor_handshake_state_t {
#endif /* defined(ONION_NTOR_PRIVATE) */
#endif /* !defined(TOR_ONION_NTOR_H) */
-