Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Commit

Permalink
style(rtc_data_enclave): unnecessary parentheses around pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
PiDelport committed May 27, 2021
1 parent dc21351 commit 6316a89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rtc_data_enclave/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub unsafe extern "C" fn rtc_validate_and_save(
};

match ocalls::save_sealed_blob_u(sealed.sealed_data, sealed.uuid) {
(sgx_status_t::SGX_SUCCESS) => EcallResult::Ok(sealed.client_payload.into()),
(err) => EcallResult::Err(DataUploadError::Sealing(err)),
sgx_status_t::SGX_SUCCESS => EcallResult::Ok(sealed.client_payload.into()),
err => EcallResult::Err(DataUploadError::Sealing(err)),
}
}

0 comments on commit 6316a89

Please sign in to comment.