diff --git a/components/esp-tls/esp_tls.h b/components/esp-tls/esp_tls.h index 07c1c8089db..3ada350379e 100644 --- a/components/esp-tls/esp_tls.h +++ b/components/esp-tls/esp_tls.h @@ -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" diff --git a/examples/protocols/https_server/simple/sdkconfig.ci.srv_ses_tkt b/examples/protocols/https_server/simple/sdkconfig.ci.srv_ses_tkt new file mode 100644 index 00000000000..a0ff28b5cdf --- /dev/null +++ b/examples/protocols/https_server/simple/sdkconfig.ci.srv_ses_tkt @@ -0,0 +1,2 @@ +CONFIG_ESP_HTTPS_SERVER_ENABLE=y +CONFIG_ESP_TLS_SERVER_SESSION_TICKETS=y