diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/or/routerlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 9e99afba33..24c01a0b3a 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -186,9 +186,9 @@ trusted_dirs_reload_certs(void) tor_snprintf(filename,sizeof(filename),"%s"PATH_SEPARATOR"cached-certs", get_options()->DataDirectory); - contents = read_file_to_str(filename, 0, NULL); + contents = read_file_to_str(filename, RFTS_IGNORE_MISSING, NULL); if (!contents) - return -1; + return 0; r = trusted_dirs_load_certs_from_string(contents, 1); tor_free(contents); return r; |