Skip to content

Commit 7dbbc89

Browse files
committed
place report data as last row
1 parent 5a0c6c7 commit 7dbbc89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc/AMDSEV/snp-tools/src/bin/snp-report.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ fn print_table_report(report: &AttestationReport) {
161161
ReportRow { field: "Guest SVN", value: format!("{}", report.guest_svn) },
162162
ReportRow { field: "VMPL", value: format!("{}", report.vmpl) },
163163
ReportRow { field: "Policy", value: policy_string(report.policy.0) },
164-
ReportRow { field: "Report Data", value: truncate_hex(&report_data, 64) },
165164
ReportRow { field: "Report ID", value: report_id },
166165
ReportRow {
167166
field: "Host Data",
@@ -175,6 +174,7 @@ fn print_table_report(report: &AttestationReport) {
175174
field: "Signing Key",
176175
value: signing_key_string(report.key_info.0).to_string(),
177176
},
177+
ReportRow { field: "Report Data", value: report_data },
178178
];
179179

180180
println!("Attestation Report");

0 commit comments

Comments
 (0)