diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-01 13:04:21 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-01 15:20:37 -0400 |
commit | 1743dac078f2e060f3f6c7194deae90a2175fe92 (patch) | |
tree | 4cd48e47e5acb70a457bf4dbddc0808c367c4b2c /src/or/channeltls.h | |
parent | 500826479aaf7d398f576fabbfdf34b17604f646 (diff) | |
download | tor-1743dac078f2e060f3f6c7194deae90a2175fe92.tar.gz tor-1743dac078f2e060f3f6c7194deae90a2175fe92.zip |
Minimize headers that include crypto_formats and x25519 stuff
Diffstat (limited to 'src/or/channeltls.h')
-rw-r--r-- | src/or/channeltls.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/channeltls.h b/src/or/channeltls.h index be74127c9a..1ab899af96 100644 --- a/src/or/channeltls.h +++ b/src/or/channeltls.h @@ -12,6 +12,9 @@ #include "or/or.h" #include "or/channel.h" +struct ed25519_public_key_t; +struct curve25519_public_key_t; + #define BASE_CHAN_TO_TLS(c) (channel_tls_from_base((c))) #define TLS_CHAN_TO_BASE(c) (channel_tls_to_base((c))) @@ -30,7 +33,7 @@ struct channel_tls_s { channel_t * channel_tls_connect(const tor_addr_t *addr, uint16_t port, const char *id_digest, - const ed25519_public_key_t *ed_id); + const struct ed25519_public_key_t *ed_id); channel_listener_t * channel_tls_get_listener(void); channel_listener_t * channel_tls_start_listener(void); channel_t * channel_tls_handle_incoming(or_connection_t *orconn); @@ -72,4 +75,3 @@ STATIC void channel_tls_process_authenticate_cell(var_cell_t *cell, #endif /* defined(CHANNELTLS_PRIVATE) */ #endif /* !defined(TOR_CHANNELTLS_H) */ - |