Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make variables static in get_key_pair_info.c #2880

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions unit_test/test_spdm_requester/get_key_pair_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@

#if LIBSPDM_ENABLE_CAPABILITY_GET_KEY_PAIR_INFO_CAP

uint8_t m_response_total_key_pairs;
uint8_t m_response_key_pair_id;
uint16_t m_response_capabilities;
uint16_t m_response_key_usage_capabilities;
uint16_t m_response_current_key_usage;
uint32_t m_response_asym_algo_capabilities;
uint32_t m_response_current_asym_algo;
uint8_t m_response_assoc_cert_slot_mask;
static uint8_t m_response_total_key_pairs;
static uint8_t m_response_key_pair_id;
static uint16_t m_response_capabilities;
static uint16_t m_response_key_usage_capabilities;
static uint16_t m_response_current_key_usage;
static uint32_t m_response_asym_algo_capabilities;
static uint32_t m_response_current_asym_algo;
static uint8_t m_response_assoc_cert_slot_mask;

libspdm_return_t libspdm_requester_get_key_pair_info_test_send_message(
void *spdm_context, size_t request_size, const void *request,
Expand Down
Loading