File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,9 +30,15 @@ namespace ccf
3030 case QuoteVerificationResult::FailedInvalidHostData:
3131 return std::make_pair (
3232 HTTP_STATUS_UNAUTHORIZED, " Quote host data is not authorised" );
33- case ccf:: QuoteVerificationResult::FailedUVMEndorsementsNotFound:
33+ case QuoteVerificationResult::FailedUVMEndorsementsNotFound:
3434 return std::make_pair (
3535 HTTP_STATUS_UNAUTHORIZED, " UVM endorsements are not authorised" );
36+ case QuoteVerificationResult::FailedInvalidCPUID:
37+ return std::make_pair (
38+ HTTP_STATUS_UNAUTHORIZED, " Quote CPUID is unknown" );
39+ case QuoteVerificationResult::FailedInvalidTcbVersion:
40+ return std::make_pair (
41+ HTTP_STATUS_UNAUTHORIZED, " Quote TCB version is too low" );
3642 default :
3743 return std::make_pair (
3844 HTTP_STATUS_INTERNAL_SERVER_ERROR,
You can’t perform that action at this time.
0 commit comments