We are planning to use embedTLS components from ESP32 IDF 2.0 Official Release and we have included one "compat-1.3h" file.
So, We are getting multiple re-definition of one macro ssl_set_bio form that header file. So, We have checked that header file and found following 2 lines.
Code: Select all
#define ssl_set_bio mbedtls_ssl_set_bio
#define ssl_set_bio mbedtls_ssl_set_bio_timeout
Code: Select all
#define ssl_set_bio mbedtls_ssl_set_bio
#define ssl_set_bio_timeout mbedtls_ssl_set_bio_timeout