From a0297743dd073526b8a9b652bca8e19895d4391c Mon Sep 17 00:00:00 2001 From: David Cermak Date: Tue, 21 Sep 2021 13:51:11 +0200 Subject: [PATCH] openssl: Add deprecation warning to ssl.h OpenSSL component will be discontinued in ESP-IDF v5.x. The only official TLS API will be esp-tls Add docs warning about deprecation in v5.x Removed all examples demonstrating usage of openssl in IDF * Original commit: espressif/esp-idf@cfc001870c5e0afed7b42b6bf8c326eae053fe96 --- components/asio/port/include/esp_asio_config.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/asio/port/include/esp_asio_config.h b/components/asio/port/include/esp_asio_config.h index cba316527..3f3a9b03e 100644 --- a/components/asio/port/include/esp_asio_config.h +++ b/components/asio/port/include/esp_asio_config.h @@ -18,6 +18,11 @@ # define ASIO_NO_TYPEID # endif // CONFIG_COMPILER_RTTI +// +// Supress OpenSSL deprecation warning, when building ASIO +// +#define ESP_OPENSSL_SUPPRESS_LEGACY_WARNING + // // LWIP compatibility inet and address macros/functions //