mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
note a bug that adam found
svn:r2150
This commit is contained in:
parent
3b00c950c2
commit
1d41c0ee35
@ -743,6 +743,7 @@ static int generate_runningrouters(crypto_pk_env_t *private_key)
|
|||||||
/** Set *<b>rr</b> to the most recently generated encoded signed
|
/** Set *<b>rr</b> to the most recently generated encoded signed
|
||||||
* running-routers list, generating a new one as necessary. */
|
* running-routers list, generating a new one as necessary. */
|
||||||
size_t dirserv_get_runningrouters(const char **rr)
|
size_t dirserv_get_runningrouters(const char **rr)
|
||||||
|
/* XXX008 Bug: size_t is unsigned, but we're returning -1 to mean error */
|
||||||
{
|
{
|
||||||
if (runningrouters_is_dirty) {
|
if (runningrouters_is_dirty) {
|
||||||
if(generate_runningrouters(get_identity_key())) {
|
if(generate_runningrouters(get_identity_key())) {
|
||||||
|
Loading…
Reference in New Issue
Block a user