From c8657d3898ff5fcdafe6e267045029f605e9d590 Mon Sep 17 00:00:00 2001 From: Shital Jumbad Date: Fri, 1 Nov 2024 09:12:29 -0700 Subject: [PATCH] Update get_key_pair_info.c Make variables static in get_key_pair_info.c --- .../test_spdm_requester/get_key_pair_info.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/unit_test/test_spdm_requester/get_key_pair_info.c b/unit_test/test_spdm_requester/get_key_pair_info.c index df0f4dfb887..b1a0ed77453 100644 --- a/unit_test/test_spdm_requester/get_key_pair_info.c +++ b/unit_test/test_spdm_requester/get_key_pair_info.c @@ -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,