summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-02-20 23:20:36 +0000
committerNick Mathewson <nickm@torproject.org>2008-02-20 23:20:36 +0000
commitf0e523c6ef9f6308a72d3474aaec04718a100ac9 (patch)
tree1f04e96a983915b147f77a7c5286d231b15fb872 /src/or/router.c
parentba977ed4f1e3e48759fa48bed9bb4de5085e32d6 (diff)
downloadtor-f0e523c6ef9f6308a72d3474aaec04718a100ac9.tar.gz
tor-f0e523c6ef9f6308a72d3474aaec04718a100ac9.zip
r18272@catbus: nickm | 2008-02-20 18:20:33 -0500
add a flag to suppress overwriting the certificates file with new certificates, so we do not overwrite all certs when starting as an authority. svn:r13630
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 026709c677..88179fdcd9 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -587,7 +587,7 @@ init_keys(void)
if (cert) { /* add my own cert to the list of known certs */
log_info(LD_DIR, "adding my own v3 cert");
if (trusted_dirs_load_certs_from_string(
- cert->cache_info.signed_descriptor_body, 0)<0) {
+ cert->cache_info.signed_descriptor_body, 0, 0)<0) {
log_warn(LD_DIR, "Unable to parse my own v3 cert! Failing.");
return -1;
}