DMTF / SPDM-Responder-Validator

BSD 3-Clause "New" or "Revised" License
10 stars 14 forks source link

spdm_responder_test_capabilities: fixup test conformance #94

Closed twilfredo closed 1 year ago

twilfredo commented 1 year ago

In spdm_test_case_capabilities_unexpected_non_identical() chunking isn't used, so set spdm_request.max_spdm_msg_size = spdm_request.data_transfer_size. Otherwise an SPDM 1.2 or higher responder will return an error here. Which is not the aim of this test.

Context: I noticed that this test was failing with "First GET_CAPABILITIES failure" when running against a libspdm based responder.