Skip to content

Commit

Permalink
Append our chain status when both sealing and verifying.
Browse files Browse the repository at this point in the history
  • Loading branch information
Murray S. Kucherawy committed Nov 23, 2017
1 parent 1bb9999 commit 8ee5d92
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions openarc/openarc.c
Original file line number Diff line number Diff line change
Expand Up @@ -3571,6 +3571,15 @@ mlfi_eom(SMFICTX *ctx)
}
}

/* append our chain status if verifying */
if (BITSET(ARC_MODE_VERIFY, cc->cctx_mode))
{
if (arcf_dstring_len(afc->mctx_tmpstr) > 0)
arcf_dstring_cat(afc->mctx_tmpstr, "; ");
arcf_dstring_printf(afc->mctx_tmpstr, "arc=%s",
arc_chain_str(afc->mctx_arcmsg));
}

/*
** Get the seal fields to apply.
*/
Expand Down

0 comments on commit 8ee5d92

Please sign in to comment.