From 89ce963d490ccea7a6651c72fa393f521871455f Mon Sep 17 00:00:00 2001 From: Akshay Date: Thu, 2 Jan 2025 10:13:26 +0000 Subject: [PATCH] Nomen changes --- helper/src/pcr_helpers.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/helper/src/pcr_helpers.rs b/helper/src/pcr_helpers.rs index 3f4b501..e3dffc5 100644 --- a/helper/src/pcr_helpers.rs +++ b/helper/src/pcr_helpers.rs @@ -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, print_logs: bool, @@ -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() { @@ -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(),