m4sterchain commented on a change in pull request #198: Refactor remote 
attestation code
URL: https://github.com/apache/incubator-teaclave/pull/198#discussion_r361896582
 
 

 ##########
 File path: mesatee_core/src/rpc/sgx/mod.rs
 ##########
 @@ -92,12 +88,11 @@ impl EnclaveAttr {
             return true;
         }
 
-        let quote_result = auth::extract_sgx_quote_from_mra_cert(&cert_der);
-        let quote: SgxQuote = match quote_result {
+        let quote = match SgxQuote::extract_from_cert(&cert_der, 
BUILD_CONFIG.ias_root_ca_cert) {
+            Ok(quote) => quote,
 
 Review comment:
   Function name: SgxQuote::extract_verified_quote?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to