aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2016-11-30 11:07:48 +1100
committerteor <teor2345@gmail.com>2016-11-30 11:07:48 +1100
commit65d793fab2bf0a58d00080df8320693cb3a2dbeb (patch)
tree0c02f43af19541607aeb5531ae74e4345f4fc28a /src/or/dirserv.c
parente5c608e535ef9a4c4fe951a277e3891c77de4908 (diff)
downloadtor-65d793fab2bf0a58d00080df8320693cb3a2dbeb.tar.gz
tor-65d793fab2bf0a58d00080df8320693cb3a2dbeb.zip
Fetch unknown certificates if FetchUselessDescriptors is true
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r--src/or/dirserv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 57ef1b1937..e2a6943708 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -1069,8 +1069,10 @@ directory_fetches_dir_info_later(const or_options_t *options)
return options->UseBridges != 0;
}
-/** Return true iff we want to fetch and keep certificates for authorities
+/** Return true iff we want to serve certificates for authorities
* that we don't acknowledge as authorities ourself.
+ * Use we_want_to_fetch_unknown_auth_certs to check if we want to fetch
+ * and keep these certificates.
*/
int
directory_caches_unknown_auth_certs(const or_options_t *options)