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;