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 Mahavir Jain
parent 319208c3d1
commit 6692a1346b

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"