Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(sgx-dcap-quoteverify-rs): don't assert in tee_qv_get_collateral() #372

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

haraldh
Copy link
Contributor

@haraldh haraldh commented Feb 14, 2024

use TryFrom<&sgx_ql_qve_collateral_t> instead of From<sgx_ql_qve_collateral_t>

  • return an error, if something goes wrong, instead of panic
  • don't take ownership of the memory

…l()`

use `TryFrom<&sgx_ql_qve_collateral_t>` instead of `From<sgx_ql_qve_collateral_t>`

* return an error, if something goes wrong, instead of panic
* don't take ownership of the memory

Signed-off-by: Harald Hoyer <[email protected]>
@haraldh haraldh force-pushed the fallible_collateral branch from 5e4d362 to ab56b9b Compare February 14, 2024 13:00
@haraldh
Copy link
Contributor Author

haraldh commented Sep 9, 2024

ping?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant