Skip to content

Commit

Permalink
Fix incorrect SPDM_RESPOND_IF_READY
Browse files Browse the repository at this point in the history
Fix DMTF#1780

Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
  • Loading branch information
jyao1 committed Mar 16, 2023
1 parent aa2d4b9 commit 75ccdcf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion library/spdm_responder_lib/libspdm_rsp_receive_send.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ libspdm_get_spdm_response_func libspdm_get_response_func_via_request_code(uint8_
#endif /* LIBSPDM_ENABLE_CAPABILITY_CHUNK_CAP */
};

LIBSPDM_ASSERT(request_code != SPDM_RESPOND_IF_READY);
for (index = 0; index < sizeof(get_response_struct) / sizeof(get_response_struct[0]); index++) {
if (request_code == get_response_struct[index].request_response_code) {
return get_response_struct[index].get_response_func;
Expand Down

0 comments on commit 75ccdcf

Please sign in to comment.