diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-10-14 04:31:40 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-10-14 04:31:40 +0000 |
commit | 55b811a259577a4b90ebd60e46d2462f368438e9 (patch) | |
tree | 49b4515f1d499add86b856d8a9c459548db2f9c6 /src/or | |
parent | 100b10473a6ca99a8ff9290667927279145fb7f8 (diff) | |
download | tor-55b811a259577a4b90ebd60e46d2462f368438e9.tar.gz tor-55b811a259577a4b90ebd60e46d2462f368438e9.zip |
Improve warnings for old-style directories.
svn:r2494
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/routerparse.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index 4e96d28da0..6ee1c3f915 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -622,15 +622,16 @@ static int check_directory_signature(const char *digest, _pkey = declared_key; } if (!_pkey) { + log_fn(LOG_WARN, "Processing directory in old (before 0.0.9pre3) format--this may fail."); r = router_get_by_nickname(tok->args[0]); - log_fn(LOG_DEBUG, "Got directory signed by %s", tok->args[0]); + log_fn(LOG_DEBUG, "Got directory signed (allegedly) by %s", tok->args[0]); if (r && r->is_trusted_dir) { _pkey = r->identity_pkey; } else if (!r && pkey) { /* pkey provided for debugging purposes. */ _pkey = pkey; } else if (!r) { - log_fn(LOG_WARN, "Directory was signed by unrecognized server %s", + log_fn(LOG_WARN, "No server descriptor loaded for signer %s", tok->args[0]); return -1; } else if (r && !r->is_trusted_dir) { |