Skip to content

Commit

Permalink
Change spdm_test_context to spdm_context in unit test
Browse files Browse the repository at this point in the history
Fix #2780.

Signed-off-by: Steven Bellock <[email protected]>
  • Loading branch information
steven-bellock authored and jyao1 committed Sep 3, 2024
1 parent 704d565 commit b327ead
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ static libspdm_return_t libspdm_requester_vendor_cmds_err_test_receive_message(
libspdm_vendor_response_test *spdm_response;
libspdm_vendor_request_test* spdm_request = NULL;
status = libspdm_transport_test_decode_message(
spdm_test_context, &session_id, &is_app_message, true,
spdm_context, &session_id, &is_app_message, true,
m_libspdm_local_buffer_size, m_libspdm_local_buffer,
&transport_message_size, (void **)(&spdm_request));
assert_int_equal(status, LIBSPDM_STATUS_SUCCESS);
Expand Down
2 changes: 1 addition & 1 deletion unit_test/test_spdm_requester/vendor_request.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ static libspdm_return_t libspdm_requester_vendor_cmds_test_receive_message(
size_t spdm_response_size;
size_t transport_header_size;
status = libspdm_transport_test_decode_message(
spdm_test_context, &session_id, &is_app_message, true,
spdm_context, &session_id, &is_app_message, true,
m_libspdm_local_buffer_size, m_libspdm_local_buffer,
&transport_message_size, (void **)(&spdm_request));
assert_int_equal(status, LIBSPDM_STATUS_SUCCESS);
Expand Down

0 comments on commit b327ead

Please sign in to comment.