Просмотр исходного кода

components/openssl: ssl port use esp32_idf default

Dong Heng 9 лет назад
Родитель
Сommit
8d1f360ca6
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      components/openssl/platform/ssl_port.c

+ 5 - 0
components/openssl/platform/ssl_port.c

@@ -13,6 +13,9 @@
 // limitations under the License.
 
 #include "ssl_port.h"
+
+#ifdef ESP32_IDF_PLATFORM
+
 #include "string.h"
 #include "malloc.h"
 
@@ -59,3 +62,5 @@ void ssl_speed_up_exit(void)
 
 }
 
+#endif
+