Skip to content

Commit

Permalink
Fix typo in verify_attestation() function
Browse files Browse the repository at this point in the history
use 'attestation' instead of 'attesation'

Signed-off-by: Jonathon Jongsma <[email protected]>
  • Loading branch information
jonner committed Mar 4, 2024
1 parent 1e14be4 commit e1b953c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/verify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub enum VerifyCmd {
pub fn cmd(cmd: VerifyCmd, quiet: bool) -> Result<()> {
match cmd {
VerifyCmd::Certs(args) => certificate_chain::validate_cc(args, quiet),
VerifyCmd::Attestation(args) => attestation::verify_attesation(args, quiet),
VerifyCmd::Attestation(args) => attestation::verify_attestation(args, quiet),
}
}

Expand Down Expand Up @@ -372,7 +372,7 @@ mod attestation {
Ok(())
}

pub fn verify_attesation(args: Args, quiet: bool) -> Result<()> {
pub fn verify_attestation(args: Args, quiet: bool) -> Result<()> {
// Get attestation report
let att_report = if !args.att_report_path.exists() {
return Err(anyhow::anyhow!("No attestation report was found. Provide an attestation report to request VCEK from the KDS."));
Expand Down

0 comments on commit e1b953c

Please sign in to comment.