mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-03 10:34:16 -04:00
Add max_early_data_size into copy list
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
02e3a074a3
commit
33bf240e53
@ -467,6 +467,10 @@ static int ssl_tls13_session_copy_ticket(mbedtls_ssl_session *dst,
|
|||||||
}
|
}
|
||||||
memcpy(dst->resumption_key, src->resumption_key, src->resumption_key_len);
|
memcpy(dst->resumption_key, src->resumption_key, src->resumption_key_len);
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_SSL_EARLY_DATA)
|
||||||
|
dst->max_early_data_size = src->max_early_data_size;
|
||||||
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif /* MBEDTLS_SSL_SESSION_TICKETS */
|
#endif /* MBEDTLS_SSL_SESSION_TICKETS */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user