This is an automated email from the ASF dual-hosted git repository.

mssun pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave.git

commit a299cb7920ad839e0a038264848a6f20024ff5ce
Author: Mingshen Sun <[email protected]>
AuthorDate: Fri Mar 13 17:37:52 2020 -0700

    [attestation] Add SwHardeningNeeded to SgxQuoteStatus
---
 attestation/src/report.rs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/attestation/src/report.rs b/attestation/src/report.rs
index 7531b7a..d13fbcb 100644
--- a/attestation/src/report.rs
+++ b/attestation/src/report.rs
@@ -176,6 +176,7 @@ pub enum SgxQuoteStatus {
     ConfigurationNeeded,
     TcbOutOfDateAndConfigurationNeeded,
     SignatureInvalid,
+    SwHardeningNeeded,
     UnknownBadStatus,
 }
 
@@ -190,6 +191,7 @@ impl From<&str> for SgxQuoteStatus {
                 SgxQuoteStatus::TcbOutOfDateAndConfigurationNeeded
             }
             "SIGNATURE_INVALID" => SgxQuoteStatus::SignatureInvalid,
+            "SW_HARDENING_NEEDED" => SgxQuoteStatus::SwHardeningNeeded,
             _ => SgxQuoteStatus::UnknownBadStatus,
         }
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to