Skip to content

Commit ecfbe4e

Browse files
committed
Merge pull-request #500
2 parents 0ae2f77 + af31a14 commit ecfbe4e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/qos_nsm/src/nitro/mod.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,7 @@ pub fn cert_from_pem(pem: &[u8]) -> Result<Vec<u8>, AttestError> {
6363
/// * `pcr1` - expected value of PCR index 1.
6464
/// * `pcr2` - expected value of PCR index 3.
6565
///
66-
/// # Panics
67-
///
68-
/// Panics if any part of verification fails.
66+
/// Returns an `AttestError` if any part of the verification fails.
6967
pub fn verify_attestation_doc_against_user_input(
7068
attestation_doc: &AttestationDoc,
7169
user_data: &[u8],

0 commit comments

Comments
 (0)