capture and detect expected BUG messages in shared-random tests

This commit is contained in:
Nick Mathewson
2016-09-08 15:13:53 -04:00
parent deb294ff53
commit e9fdec2b1d
2 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -201,7 +201,7 @@ verify_commit_and_reveal(const sr_commit_t *commit)
if (fast_memneq(received_hashed_reveal, commit->hashed_reveal,
sizeof(received_hashed_reveal))) {
log_warn(LD_BUG, "SR: Received reveal value from authority %s "
"does't match the commit value.",
"doesn't match the commit value.",
sr_commit_get_rsa_fpr(commit));
goto invalid;
}