DMTF / spdm-emu

BSD 3-Clause "New" or "Revised" License
32 stars 44 forks source link

Need add version check before calling do_measurement_mel_via_spdm #359

Closed Wenxing-hou closed 3 months ago

Wenxing-hou commented 3 months ago

Need add the check: if (m_use_version >= SPDM_MESSAGE_VERSION_13) {

https://github.com/DMTF/spdm-emu/blob/0b37fdae985fef44e63af22e94bede8af0c4006d/spdm_emu/spdm_requester_emu/spdm_requester_emu.c#L130-L135

https://github.com/DMTF/spdm-emu/blob/0b37fdae985fef44e63af22e94bede8af0c4006d/spdm_emu/spdm_requester_emu/spdm_requester_session.c#L179-L185