diff options
Diffstat (limited to 'src/or/onion_ntor.h')
-rw-r--r-- | src/or/onion_ntor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/onion_ntor.h b/src/or/onion_ntor.h index 4f305a49e3..80015fd3fa 100644 --- a/src/or/onion_ntor.h +++ b/src/or/onion_ntor.h @@ -17,6 +17,7 @@ typedef struct ntor_handshake_state_t ntor_handshake_state_t; /** Length of an ntor reply, as sent from server to client. */ #define NTOR_REPLY_LEN 64 +#ifdef CURVE25519_ENABLED void ntor_handshake_state_free(ntor_handshake_state_t *state); int onion_skin_ntor_create(const uint8_t *router_id, @@ -36,6 +37,7 @@ int onion_skin_ntor_client_handshake( const uint8_t *handshake_reply, uint8_t *key_out, size_t key_out_len); +#endif #endif |