change max_early_data_size source
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
525990fb62
commit
d450fd25ae
1 changed files with 2 additions and 2 deletions
|
@ -3235,10 +3235,10 @@ static int ssl_tls13_write_nst_early_data_ext(mbedtls_ssl_context *ssl,
|
|||
|
||||
MBEDTLS_PUT_UINT16_BE(MBEDTLS_TLS_EXT_EARLY_DATA, p, 0);
|
||||
MBEDTLS_PUT_UINT16_BE(4, p, 2);
|
||||
MBEDTLS_PUT_UINT32_BE(ssl->conf->max_early_data_size, p, 4);
|
||||
MBEDTLS_PUT_UINT32_BE(ssl->session->max_early_data_size, p, 4);
|
||||
MBEDTLS_SSL_DEBUG_MSG(
|
||||
4, ("Sent max_early_data_size=%u",
|
||||
(unsigned int) ssl->conf->max_early_data_size));
|
||||
(unsigned int) ssl->session->max_early_data_size));
|
||||
|
||||
*out_len = 8;
|
||||
|
||||
|
|
Loading…
Reference in a new issue