Skip to content

Commit

Permalink
Nomen changes
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay111meher committed Jan 2, 2025
1 parent 6ad0e2a commit 89ce963
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions helper/src/pcr_helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ pub async fn get_verified_attestation(
Ok(encoded)
}

pub async fn verify_attestation_sig(
pub async fn verify_attestation(
verifier_url: &str,
attestation_data: Vec<u8>,
print_logs: bool,
Expand Down Expand Up @@ -242,7 +242,7 @@ pub fn verify_with_timestamp(

#[cfg(test)]
mod tests {
use super::{build_attestation_vec, parse_attestation_doc, verify_attestation_sig};
use super::{build_attestation_vec, parse_attestation_doc, verify_attestation};

#[tokio::test]
async fn test_verified_attestation_with_verifier() {
Expand All @@ -261,7 +261,7 @@ mod tests {
);

let verified_result =
verify_attestation_sig("http://13.201.207.60:1400", attestation_vec, false).await;
verify_attestation("http://13.201.207.60:1400", attestation_vec, false).await;

assert!(
verified_result.is_ok(),
Expand Down

0 comments on commit 89ce963

Please sign in to comment.