support new mbedtls 2.28.x too (#14758)

* support new mbedtls 2.28.x too
This commit is contained in:
Jason2866 2022-02-07 13:01:48 +01:00 committed by GitHub
parent 005a556d41
commit d40186b59d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@
#include "esp_mail_ssl_client32.h" #include "esp_mail_ssl_client32.h"
#include <WiFi.h> #include <WiFi.h>
#ifndef MBEDTLS_KEY_EXCHANGE__SOME__PSK_ENABLED #if !defined(MBEDTLS_KEY_EXCHANGE__SOME__PSK_ENABLED) && !defined(MBEDTLS_KEY_EXCHANGE_SOME_PSK_ENABLED)
#error "Please configure IDF framework to include mbedTLS -> Enable pre-shared-key ciphersuites and activate at least one cipher" #error "Please configure IDF framework to include mbedTLS -> Enable pre-shared-key ciphersuites and activate at least one cipher"
#endif #endif