Skip to content

Commit

Permalink
Merge branch 'bugfix/fix_build_issue_esp_tls_server_session_tickets' …
Browse files Browse the repository at this point in the history
…into 'master'

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

Closes IDFGH-9392

See merge request espressif/esp-idf!22381
  • Loading branch information
mahavirj committed Feb 27, 2023
2 parents dc76dde + bd81d8f commit 2c8c8bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/esp-tls/esp_tls.h
Expand Up @@ -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"
Expand Down
@@ -0,0 +1,2 @@
CONFIG_ESP_HTTPS_SERVER_ENABLE=y
CONFIG_ESP_TLS_SERVER_SESSION_TICKETS=y

0 comments on commit 2c8c8bf

Please sign in to comment.