mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
a0d73b5155
Previously with HTTPD_SSL_CONFIG_DEFAULT being a MACRO, the configuration options could not be applied to it. This was casuing error in multiple scenarios. For e.g., here user_cert_cb is a part of httpd_ssl_config_t which this macro defines. But the type of user_cert_cb (esp_tls_server_callback_t) is only available when it is enabled in esp-tls. The MACRO however cannot be modified to set the defaults based on configuration option. This fix solves the issue without breaking the compatibility
5 lines
153 B
Plaintext
5 lines
153 B
Plaintext
CONFIG_ESP_HTTPS_SERVER_ENABLE=y
|
|
CONFIG_ESP_TLS_CERT_SELECT_HOOK=y
|
|
CONFIG_EXAMPLE_ENABLE_HTTPS_USER_CALLBACK=y
|
|
CONFIG_EXAMPLE_WIFI_SSID_PWD_FROM_STDIN=y
|