mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-04 05:04:33 +02:00
Merge branch 'bugfix/https_server_dyn_buf' into 'master'
https_server: Fix example when `MBEDTLS_DYNAMIC_BUFFER` is enabled Closes IDFCI-1479 See merge request espressif/esp-idf!20452
This commit is contained in:
@@ -219,6 +219,7 @@
|
|||||||
- "components/esp_wifi/**/*"
|
- "components/esp_wifi/**/*"
|
||||||
- "components/esp_netif/**/*"
|
- "components/esp_netif/**/*"
|
||||||
- "components/lwip/**/*"
|
- "components/lwip/**/*"
|
||||||
|
- "components/mbedtls/port/dynamic/*"
|
||||||
|
|
||||||
# for cases with wifi_high_traffic marker
|
# for cases with wifi_high_traffic marker
|
||||||
- "examples/system/ota/**/*"
|
- "examples/system/ota/**/*"
|
||||||
|
@@ -18,8 +18,8 @@ static const char *TAG = "SSL Server";
|
|||||||
*/
|
*/
|
||||||
static bool ssl_ciphersuite_uses_rsa_key_ex(mbedtls_ssl_context *ssl)
|
static bool ssl_ciphersuite_uses_rsa_key_ex(mbedtls_ssl_context *ssl)
|
||||||
{
|
{
|
||||||
int suite_id = mbedtls_ssl_get_ciphersuite_id_from_ssl(ssl);
|
const mbedtls_ssl_ciphersuite_t *ciphersuite_info =
|
||||||
const mbedtls_ssl_ciphersuite_t *ciphersuite_info = mbedtls_ssl_ciphersuite_from_id(suite_id);
|
ssl->MBEDTLS_PRIVATE(handshake)->ciphersuite_info;
|
||||||
|
|
||||||
if (ciphersuite_info->MBEDTLS_PRIVATE(key_exchange) == MBEDTLS_KEY_EXCHANGE_RSA ||
|
if (ciphersuite_info->MBEDTLS_PRIVATE(key_exchange) == MBEDTLS_KEY_EXCHANGE_RSA ||
|
||||||
ciphersuite_info->MBEDTLS_PRIVATE(key_exchange) == MBEDTLS_KEY_EXCHANGE_RSA_PSK) {
|
ciphersuite_info->MBEDTLS_PRIVATE(key_exchange) == MBEDTLS_KEY_EXCHANGE_RSA_PSK) {
|
||||||
|
Reference in New Issue
Block a user