Skip to content

Commit

Permalink
1.3 clear multi-key flag in context reset
Browse files Browse the repository at this point in the history
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
  • Loading branch information
jyao1 committed Nov 15, 2023
1 parent a15297f commit 31124b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions library/spdm_common_lib/libspdm_com_context_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -2752,6 +2752,8 @@ void libspdm_reset_context(void *spdm_context)
libspdm_zero_mem(&context->encap_context, sizeof(libspdm_encap_context_t));
context->connection_info.local_used_cert_chain_buffer_size = 0;
context->connection_info.local_used_cert_chain_buffer = NULL;
context->connection_info.multi_key_conn_req = false;
context->connection_info.multi_key_conn_rsp = false;
#if LIBSPDM_RESPOND_IF_READY_SUPPORT
context->cache_spdm_request_size = 0;
#endif
Expand Down

0 comments on commit 31124b4

Please sign in to comment.