Skip to content

Commit 3bab714

Browse files
committed
1.3 clear multi-key flag in context reset
Signed-off-by: Jiewen Yao <[email protected]>
1 parent b9265cc commit 3bab714

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

library/spdm_common_lib/libspdm_com_context_data.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2752,6 +2752,8 @@ void libspdm_reset_context(void *spdm_context)
27522752
libspdm_zero_mem(&context->encap_context, sizeof(libspdm_encap_context_t));
27532753
context->connection_info.local_used_cert_chain_buffer_size = 0;
27542754
context->connection_info.local_used_cert_chain_buffer = NULL;
2755+
context->connection_info.multi_key_conn_req = false;
2756+
context->connection_info.multi_key_conn_rsp = false;
27552757
#if LIBSPDM_RESPOND_IF_READY_SUPPORT
27562758
context->cache_spdm_request_size = 0;
27572759
#endif

0 commit comments

Comments
 (0)