fix(mbedtls): fix option dependence of "MBEDTLS_SERVER_SSL_SESSION_TICKETS"

MBEDTLS_SERVER_SSL_SESSION_TICKETS
    ->  MBEDTLS_CIPHER_MODE_AEAD
        -> MBEDTLS_GCM_C || MBEDTLS_CCM_C || MBEDTLS_CHACHAPOLY_C
This commit is contained in:
Dong Heng
2019-12-27 14:14:40 +08:00
parent f7d65fe38c
commit 9e638f3715

View File

@ -321,6 +321,7 @@ menu "mbedTLS"
bool "TLS: Server Support for RFC 5077 SSL session tickets" bool "TLS: Server Support for RFC 5077 SSL session tickets"
default y default y
depends on MBEDTLS_TLS_ENABLED depends on MBEDTLS_TLS_ENABLED
depends on MBEDTLS_GCM_C || MBEDTLS_CCM_C || MBEDTLS_CHACHAPOLY_C
help help
Server support for RFC 5077 session tickets. See mbedTLS documentation for more details. Server support for RFC 5077 session tickets. See mbedTLS documentation for more details.
Disabling this option will save some code size. Disabling this option will save some code size.