mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
@ -603,8 +603,8 @@
|
|||||||
* If the library supports TLS 1.3 tickets and the cipher suite
|
* If the library supports TLS 1.3 tickets and the cipher suite
|
||||||
* TLS1-3-AES-256-GCM-SHA384, set the PSK maximum length to 48 instead of 32.
|
* TLS1-3-AES-256-GCM-SHA384, set the PSK maximum length to 48 instead of 32.
|
||||||
* That way, the TLS 1.3 client and server are able to resume sessions where
|
* That way, the TLS 1.3 client and server are able to resume sessions where
|
||||||
* the cipher suite was TLS1-3-AES-256-GCM-SHA384 (pre-shared keys are 48
|
* the cipher suite is TLS1-3-AES-256-GCM-SHA384 (pre-shared keys are 48
|
||||||
* bytes long is that case).
|
* bytes long in that case).
|
||||||
*/
|
*/
|
||||||
#if defined(MBEDTLS_SSL_PROTO_TLS1_3) && \
|
#if defined(MBEDTLS_SSL_PROTO_TLS1_3) && \
|
||||||
defined(MBEDTLS_SSL_SESSION_TICKETS) && \
|
defined(MBEDTLS_SSL_SESSION_TICKETS) && \
|
||||||
|
Reference in New Issue
Block a user