mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
esp-tls: Add changes to the Cert selection callback PR.
This commit is contained in:
@@ -97,10 +97,8 @@ struct httpd_ssl_config {
|
||||
/** User callback for esp_https_server */
|
||||
esp_https_server_user_cb *user_cb;
|
||||
|
||||
#if defined(CONFIG_ESP_TLS_SERVER_CERT_SELECT_HOOK)
|
||||
esp_tls_handshake_callback cert_select_cb; /*!< Certificate selection callback to use */
|
||||
#endif
|
||||
void *ssl_userdata; /*!< user data to add to the ssl context */
|
||||
esp_tls_handshake_callback cert_select_cb; /*!< Certificate selection callback to use */
|
||||
};
|
||||
|
||||
typedef struct httpd_ssl_config httpd_ssl_config_t;
|
||||
@@ -150,6 +148,8 @@ typedef struct httpd_ssl_config httpd_ssl_config_t;
|
||||
.session_tickets = false, \
|
||||
.use_secure_element = false, \
|
||||
.user_cb = NULL, \
|
||||
.ssl_userdata = NULL, \
|
||||
.cert_select_cb = NULL \
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user