various PTS fixes

This commit is contained in:
Andreas Steffen
2012-07-17 16:38:55 +02:00
parent 68b1a559cc
commit 20ec024a94
4 changed files with 8 additions and 6 deletions
@@ -1156,6 +1156,8 @@ METHOD(attest_db_t, add, bool,
this->relative, this->algo);
if (!measurements)
{
printf("file measurement failed\n");
hasher->destroy(hasher);
return FALSE;
}
if (this->fid && this->relative)