Skip to content

Commit

Permalink
Fix temp_message_k buffer size issue
Browse files Browse the repository at this point in the history
Fix issue #861 .

Signed-off-by: Troy Lee <[email protected]>
  • Loading branch information
LeeTroy authored and jyao1 committed Apr 22, 2022
1 parent 52d59bc commit 79c1876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/internal/libspdm_common_lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 79c1876

Please sign in to comment.