Skip to content

Commit

Permalink
Fix Case 2.6: Non-identical GET_CAPABILITIES requests
Browse files Browse the repository at this point in the history
Due to a typo, identical requests are being sent instead of
non-identical in this case. Tests were still passing because
responder from DMTF libspdm repository does not support
retries, so both identical and non-identical requests were
resulting in SPDM_ERROR (Unexpected Request).
  • Loading branch information
nitinklohar authored and jyao1 committed Jan 7, 2025
1 parent 626dfbd commit 61c580d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,7 @@ void spdm_test_case_capabilities_unexpected_non_identical (void *test_context)
spdm_response_size = sizeof(message);
libspdm_zero_mem(message, sizeof(message));
status = libspdm_send_receive_data(spdm_context, NULL, false,
&spdm_request, spdm_request_size,
&spdm_request_new, spdm_request_size,
spdm_response, &spdm_response_size);
if (LIBSPDM_STATUS_IS_ERROR(status)) {
common_test_record_test_assertion (
Expand Down

0 comments on commit 61c580d

Please sign in to comment.