Skip to content

Commit

Permalink
Update docstring: verify_attestation_doc_against_user_input does not …
Browse files Browse the repository at this point in the history
…panic
  • Loading branch information
r-n-o committed Dec 26, 2024
1 parent 434b39b commit af31a14
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/qos_nsm/src/nitro/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ pub fn cert_from_pem(pem: &[u8]) -> Result<Vec<u8>, AttestError> {
/// * `pcr1` - expected value of PCR index 1.
/// * `pcr2` - expected value of PCR index 3.
///
/// # Panics
///
/// Panics if any part of verification fails.
/// Returns an `AttestError` if any part of the verification fails.
pub fn verify_attestation_doc_against_user_input(
attestation_doc: &AttestationDoc,
user_data: &[u8],
Expand Down

0 comments on commit af31a14

Please sign in to comment.