Skip to content

Commit

Permalink
build fix (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
valdok committed May 14, 2024
1 parent 38bd434 commit 99145a3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ unsafe fn check_patch_level_dcap(pub_k: &[u8; 32]) -> NodeAuthResult {
println!("Failed to obtain DCAP attestation: {}", e);
}
}
return NodeAuthResult::InvalidCert;
NodeAuthResult::InvalidCert
}

#[cfg(feature = "SGX_MODE_HW")]
Expand Down Expand Up @@ -192,5 +192,5 @@ pub unsafe extern "C" fn ecall_check_patch_level(
return res1;
}

return res2;
res2
}

0 comments on commit 99145a3

Please sign in to comment.