From 337d5318aed405853849be13a16a2a4e4dc05592 Mon Sep 17 00:00:00 2001 From: Jerry Yu Date: Fri, 15 Oct 2021 10:09:05 +0800 Subject: [PATCH] replace md_max_size with tls13_md_max_size Signed-off-by: Jerry Yu --- library/ssl_misc.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/library/ssl_misc.h b/library/ssl_misc.h index ceaf0588f..904d8c77d 100644 --- a/library/ssl_misc.h +++ b/library/ssl_misc.h @@ -521,10 +521,10 @@ typedef struct typedef struct { - unsigned char client_application_traffic_secret_N[ MBEDTLS_MD_MAX_SIZE ]; - unsigned char server_application_traffic_secret_N[ MBEDTLS_MD_MAX_SIZE ]; - unsigned char exporter_master_secret [ MBEDTLS_MD_MAX_SIZE ]; - unsigned char resumption_master_secret [ MBEDTLS_MD_MAX_SIZE ]; + unsigned char client_application_traffic_secret_N[ MBEDTLS_TLS1_3_MD_MAX_SIZE ]; + unsigned char server_application_traffic_secret_N[ MBEDTLS_TLS1_3_MD_MAX_SIZE ]; + unsigned char exporter_master_secret [ MBEDTLS_TLS1_3_MD_MAX_SIZE ]; + unsigned char resumption_master_secret [ MBEDTLS_TLS1_3_MD_MAX_SIZE ]; } mbedtls_ssl_tls1_3_application_secrets; /*