Skip to content
This repository has been archived by the owner on Jul 2, 2023. It is now read-only.

Commit

Permalink
[CC-KBC] TDX attester: Correct the CCEL PATH
Browse files Browse the repository at this point in the history
Signed-off-by: Jiale Zhang <zhangjiale@linux.alibaba.com>
  • Loading branch information
jialez0 authored and sameo committed Jan 5, 2023
1 parent 7ec32ee commit 017d534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kbc_modules/cc_kbc/attester/tdx/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use serde::{Deserialize, Serialize};
use std::path::Path;
use tdx_attest_rs;

const CCEL_PATH: &str = "/sys/firmware/acpi/tables/CCEL";
const CCEL_PATH: &str = "/sys/firmware/acpi/tables/data/CCEL";

pub fn detect_platform() -> bool {
Path::new("/dev/tdx-attest").exists()
Expand Down

0 comments on commit 017d534

Please sign in to comment.