mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
Remove stub macro for router_new_consensus_params()
I had incorrectly believed that the router.c file was disabled when we were building with relay mode disabled.
This commit is contained in:
parent
edb023b1e7
commit
cb25f57724
@ -34,7 +34,6 @@ void set_server_identity_key(crypto_pk_t *k);
|
|||||||
MOCK_DECL(crypto_pk_t *,get_server_identity_key,(void));
|
MOCK_DECL(crypto_pk_t *,get_server_identity_key,(void));
|
||||||
#else
|
#else
|
||||||
#define get_server_identity_key() (tor_abort_(),NULL)
|
#define get_server_identity_key() (tor_abort_(),NULL)
|
||||||
#define router_new_consensus_params(c) ((void)(c))
|
|
||||||
#endif
|
#endif
|
||||||
int server_identity_key_is_set(void);
|
int server_identity_key_is_set(void);
|
||||||
void set_client_identity_key(crypto_pk_t *k);
|
void set_client_identity_key(crypto_pk_t *k);
|
||||||
|
Loading…
Reference in New Issue
Block a user