Skip to content

Commit

Permalink
remove unnecessary total key pairs number setting.
Browse files Browse the repository at this point in the history
It should be handled by device_secret_lib_sample.

Signed-off-by: Jiewen Yao <[email protected]>
  • Loading branch information
jyao1 committed Nov 29, 2024
1 parent 046702c commit ecb76c8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions spdm_emu/spdm_responder_emu/spdm_responder_spdm.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,11 +296,6 @@ void *spdm_server_init(void)
libspdm_set_data(spdm_context, LIBSPDM_DATA_HEARTBEAT_PERIOD, &parameter,
&data8, sizeof(data8));

/*total key pair info number*/
data8 = 16;
libspdm_set_data(spdm_context, LIBSPDM_DATA_TOTAL_KEY_PAIRS, &parameter,
&data8, sizeof(data8));

libspdm_register_get_response_func(
spdm_context, spdm_get_response_vendor_defined_request);

Expand Down

0 comments on commit ecb76c8

Please sign in to comment.