mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Appease make check-spaces
This commit is contained in:
parent
6abce601f2
commit
341a159ab4
@ -2547,3 +2547,4 @@ extend_info_has_preferred_onion_key(const extend_info_t* ei)
|
|||||||
tor_assert(ei);
|
tor_assert(ei);
|
||||||
return extend_info_supports_ntor(ei);
|
return extend_info_supports_ntor(ei);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3904,3 +3904,4 @@ rend_service_allow_direct_connection(const or_options_t *options)
|
|||||||
(void)options;
|
(void)options;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -145,7 +145,6 @@ mock_saved_log_has_message_containing(const char *msg)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/** Return true iff the saved logs have any messages with <b>severity</b> */
|
/** Return true iff the saved logs have any messages with <b>severity</b> */
|
||||||
int
|
int
|
||||||
mock_saved_log_has_severity(int severity)
|
mock_saved_log_has_severity(int severity)
|
||||||
@ -210,3 +209,4 @@ mock_saving_logv(int severity, log_domain_mask_t domain,
|
|||||||
|
|
||||||
smartlist_add(saved_logs, e);
|
smartlist_add(saved_logs, e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2216,7 +2216,6 @@ test_util_gzip_compression_bomb(void *arg)
|
|||||||
size_t result_len = 0;
|
size_t result_len = 0;
|
||||||
tor_zlib_state_t *state = NULL;
|
tor_zlib_state_t *state = NULL;
|
||||||
|
|
||||||
|
|
||||||
/* Make sure we can't produce a compression bomb */
|
/* Make sure we can't produce a compression bomb */
|
||||||
const int prev_level = setup_full_capture_of_logs(LOG_WARN);
|
const int prev_level = setup_full_capture_of_logs(LOG_WARN);
|
||||||
tt_int_op(-1, OP_EQ, tor_gzip_compress(&result, &result_len,
|
tt_int_op(-1, OP_EQ, tor_gzip_compress(&result, &result_len,
|
||||||
|
Loading…
Reference in New Issue
Block a user