[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Remove stub macro for router_new_consensus_params()
commit cb25f5772441e6caed4ae8b84300f32de078fe62
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Fri Jun 26 08:32:33 2020 -0400
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.
---
src/feature/relay/router.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/feature/relay/router.h b/src/feature/relay/router.h
index b1f90699a..4c557b8d0 100644
--- a/src/feature/relay/router.h
+++ b/src/feature/relay/router.h
@@ -34,7 +34,6 @@ void set_server_identity_key(crypto_pk_t *k);
MOCK_DECL(crypto_pk_t *,get_server_identity_key,(void));
#else
#define get_server_identity_key() (tor_abort_(),NULL)
-#define router_new_consensus_params(c) ((void)(c))
#endif
int server_identity_key_is_set(void);
void set_client_identity_key(crypto_pk_t *k);
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits