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 get_csr for SPDM 1.3 #324

Closed
wants to merge 1 commit into from
Closed

Conversation

Wenxing-hou
Copy link
Contributor

No description provided.

@Wenxing-hou
Copy link
Contributor Author

Wenxing-hou commented Jan 11, 2024

This PR will fix the sync libspdm error.

And this PR will pass the CI after sync the libspdm.

} else {
#if LIBSPDM_ENABLE_CAPABILITY_CSR_CAP_EX
request_attribute = 0;
key_pair_id = 1;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is wrong. Need evaluate if MULTI_KEY_CONN

printf("libspdm_get_csr - %x\n",
(uint32_t)status);
return status;
if (m_use_version == SPDM_MESSAGE_VERSION_12) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is wrong. The API can still be used in case of no MULTI_KEY_CONN.

Signed-off-by: Wenxing Hou <[email protected]>
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.

2 participants