Skip to content

Commit

Permalink
Change error wording
Browse files Browse the repository at this point in the history
Co-authored-by: Xynnn_ <xynnn@linux.alibaba.com>
Signed-off-by: Mathias Brossard <mathias.brossard@arm.com>
  • Loading branch information
2 people authored and fitzthum committed Sep 25, 2024
1 parent 5ecf090 commit b1091ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attestation-agent/attester/src/cca/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ struct CcaEvidence {
impl Attester for CcaAttester {
async fn get_evidence(&self, mut challenge: Vec<u8>) -> Result<String> {
if challenge.len() > CCA_CHALLENGE_SIZE {
bail!("CCA Attester: Challenge size must be {CCA_CHALLENGE_SIZE} or less.");
bail!("CCA Attester: Challenge size must be {CCA_CHALLENGE_SIZE} bytes or less.");
}

challenge.resize(CCA_CHALLENGE_SIZE, 0);
Expand Down

0 comments on commit b1091ed

Please sign in to comment.