aboutsummaryrefslogtreecommitdiff
path: root/src/feature/dirauth
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-08-03 08:55:17 -0400
committerNick Mathewson <nickm@torproject.org>2020-08-03 08:55:17 -0400
commitefc969e86214fc53d3387c646ef0eab80ce15981 (patch)
treebcf64d7b1842f0741826c97ff63e8dae2e140b4d /src/feature/dirauth
parentd1fda62d11139830b0d81d56d0dfd372237d0be6 (diff)
downloadtor-efc969e86214fc53d3387c646ef0eab80ce15981.tar.gz
tor-efc969e86214fc53d3387c646ef0eab80ce15981.zip
Rename protover_contains_long_protocol_names to protover_list_is_invalid
This is an automated commit, generated by this command: ./scripts/maint/rename_c_identifier.py \ protover_contains_long_protocol_names protover_list_is_invalid
Diffstat (limited to 'src/feature/dirauth')
-rw-r--r--src/feature/dirauth/dirvote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/dirauth/dirvote.c b/src/feature/dirauth/dirvote.c
index 080edd92f1..8676df76ab 100644
--- a/src/feature/dirauth/dirvote.c
+++ b/src/feature/dirauth/dirvote.c
@@ -4567,7 +4567,7 @@ dirserv_generate_networkstatus_vote_obj(crypto_pk_t *private_key,
/* If it has a protover list and contains a protocol name greater than
* MAX_PROTOCOL_NAME_LENGTH, skip it. */
if (ri->protocol_list &&
- protover_contains_long_protocol_names(ri->protocol_list)) {
+ protover_list_is_invalid(ri->protocol_list)) {
continue;
}
if (ri->cache_info.published_on >= cutoff) {