mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Fix: init HSDirs list in rend_data_service_create
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
This commit is contained in:
parent
d05d21c89a
commit
2aaaf7b145
@ -1464,6 +1464,9 @@ rend_data_service_create(const char *onion_address, const char *pk_digest,
|
||||
strlcpy(rend_data->onion_address, onion_address,
|
||||
sizeof(rend_data->onion_address));
|
||||
rend_data->auth_type = auth_type;
|
||||
/* Won't be used but still need to initialize it for rend_data dup and
|
||||
* free. */
|
||||
rend_data->hsdirs_fp = smartlist_new();
|
||||
|
||||
return rend_data;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user