mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
Merge remote-tracking branch 'dgoulet/ticket27545_035_01'
This commit is contained in:
commit
bfc847255a
1 changed files with 5 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
|||
#include "lib/crypt_ops/crypto_rand.h"
|
||||
#include "lib/crypt_ops/crypto_util.h"
|
||||
#include "lib/crypt_ops/crypto_ope.h"
|
||||
#include "lib/crypt_ops/crypto_rand.h"
|
||||
#include "feature/dircache/directory.h"
|
||||
#include "core/mainloop/main.h"
|
||||
#include "feature/nodelist/networkstatus.h"
|
||||
|
@ -1799,6 +1800,10 @@ build_service_desc_superencrypted(const hs_service_t *service,
|
|||
smartlist_add(superencrypted->clients, desc_client);
|
||||
}
|
||||
|
||||
/* Shuffle the list to prevent the client know the position in the
|
||||
* config. */
|
||||
smartlist_shuffle(superencrypted->clients);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue