mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Merge remote-tracking branch 'tor-github/pr/280'
This commit is contained in:
@@ -657,6 +657,8 @@ channelpadding_get_circuits_available_timeout(void)
|
||||
// 30..60min by default
|
||||
timeout = timeout + crypto_rand_int(timeout);
|
||||
|
||||
tor_assert(timeout >= 0);
|
||||
|
||||
return timeout;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user