From 79c187688a6e857a5e9589ea315442ec4011e7bb Mon Sep 17 00:00:00 2001 From: Troy Lee Date: Fri, 22 Apr 2022 14:11:26 +0800 Subject: [PATCH] Fix temp_message_k buffer size issue Fix issue #861 . Signed-off-by: Troy Lee --- include/internal/libspdm_common_lib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/internal/libspdm_common_lib.h b/include/internal/libspdm_common_lib.h index 6f59443f3ce..d4024c545a6 100644 --- a/include/internal/libspdm_common_lib.h +++ b/include/internal/libspdm_common_lib.h @@ -239,7 +239,7 @@ typedef struct { libspdm_large_managed_buffer_t message_m; #else /* the message_k must be plan text because we do not know the finished_key yet.*/ - libspdm_medium_managed_buffer_t temp_message_k; + libspdm_large_managed_buffer_t temp_message_k; bool message_f_initialized; bool finished_key_ready; void *digest_context_th;