Skip to content

Commit

Permalink
Assign correct total key pairs number.
Browse files Browse the repository at this point in the history
Signed-off-by: Jiewen Yao <[email protected]>
  • Loading branch information
jyao1 committed Dec 3, 2024
1 parent 046702c commit 97b824c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spdm_emu/spdm_responder_emu/spdm_responder_spdm.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ void *spdm_server_init(void)
&data8, sizeof(data8));

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

Expand Down

0 comments on commit 97b824c

Please sign in to comment.