Skip to content
Snippets Groups Projects
Commit 8d6bb3a5 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Make our digest-mismatch warnings a touch better

parent 9febbf04
No related branches found
No related tags found
No related merge requests found
......@@ -4964,6 +4964,12 @@ routerinfo_incompatible_with_extrainfo(const routerinfo_t *ri,
goto err;
}
if (!digest256_matches && !digest_matches) {
if (msg) *msg = "Neither digest256 or digest matched "
"digest from routerdesc";
goto err;
}
if (!digest256_matches) {
if (msg) *msg = "Extrainfo digest did not match digest256 from routerdesc";
goto err; /* Digest doesn't match declared value. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment