Browse Source

Merge branch 'bugfix/fix_mbedtls_flag_defined_always' into 'master'

Fixed TLS 1.1 still being enables even if disabled via config.

Closes IDFGH-3755

See merge request espressif/esp-idf!9905
Mahavir Jain 5 years ago
parent
commit
48b659b474
1 changed files with 2 additions and 0 deletions
  1. 2 0
      components/mbedtls/port/include/mbedtls/esp_config.h

+ 2 - 0
components/mbedtls/port/include/mbedtls/esp_config.h

@@ -976,6 +976,8 @@
  */
 #ifdef CONFIG_MBEDTLS_SSL_PROTO_TLS1_1
 #define MBEDTLS_SSL_PROTO_TLS1_1
+#else
+#undef MBEDTLS_SSL_PROTO_TLS1_1
 #endif
 
 /**