Rmove MBEDTLS_NIST_KW_C dependency from MBEDTLS_SSL_TICKET_C

Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
Przemek Stekiel 2022-10-03 11:39:02 +02:00
parent 6a5cc74cc4
commit 0957e7bfc5
2 changed files with 2 additions and 3 deletions

View file

@ -963,7 +963,7 @@
#endif
#if defined(MBEDTLS_SSL_SESSION_TICKETS) && \
!( defined(MBEDTLS_GCM_C) || defined(MBEDTLS_CCM_C) || defined(MBEDTLS_CHACHAPOLY_C) || defined(MBEDTLS_NIST_KW_C) )
!( defined(MBEDTLS_GCM_C) || defined(MBEDTLS_CCM_C) || defined(MBEDTLS_CHACHAPOLY_C) )
#error "MBEDTLS_SSL_SESSION_TICKETS defined, but not all prerequisites"
#endif

View file

@ -1703,8 +1703,7 @@
* tickets, including authenticated encryption and key management. Example
* callbacks are provided by MBEDTLS_SSL_TICKET_C.
*
* Requires: MBEDTLS_GCM_C or MBEDTLS_CCM_C or MBEDTLS_CHACHAPOLY_C or
* MBEDTLS_NIST_KW_C
* Requires: MBEDTLS_GCM_C or MBEDTLS_CCM_C or MBEDTLS_CHACHAPOLY_C
*
* Comment this macro to disable support for SSL session tickets
*/