esp-tls: Fix build issue when esp-tls server session tickets have been enabled.

Closes https://github.com/espressif/esp-idf/issues/10765
This commit is contained in:
Aditya Patwardhan 2023-02-15 10:37:09 +05:30 committed by BOT
parent b184b9a153
commit 0d20f8816f

View File

@ -14,6 +14,8 @@
#include "mbedtls/ssl.h"
#ifdef CONFIG_ESP_TLS_SERVER_SESSION_TICKETS
#include "mbedtls/ssl_ticket.h"
#include "mbedtls/entropy.h"
#include "mbedtls/ctr_drbg.h"
#endif
#elif CONFIG_ESP_TLS_USING_WOLFSSL
#include "wolfssl/wolfcrypt/settings.h"