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

Change session_id generate #64

Merged
merged 3 commits into from
Dec 13, 2022
Merged

Conversation

Wenxing-hou
Copy link
Contributor

Fix: #63

Signed-off-by: Wenxing Hou [email protected]

@@ -1966,7 +1966,7 @@ void dump_spdm_key_exchange_rsp(const void *buffer, size_t buffer_size)
}

m_cached_session_id =
m_cached_session_id | spdm_response->rsp_session_id;
m_cached_session_id | (spdm_response->rsp_session_id << 16);
Copy link
Member

Choose a reason for hiding this comment

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

why not use libspdm_generate_session_id()?

@Wenxing-hou Wenxing-hou force-pushed the change_session_id_generate branch from 2cbb9eb to 037fec1 Compare December 13, 2022 03:23
@jyao1 jyao1 merged commit 1ba322d into DMTF:main Dec 13, 2022
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.

session_id calculation is incorrect
2 participants