]> granicus.if.org Git - esp-idf/commitdiff
components/openssl: ssl port use esp32_idf default
authorDong Heng <dongheng@espressif.com>
Tue, 1 Nov 2016 05:10:56 +0000 (13:10 +0800)
committerDong Heng <dongheng@espressif.com>
Tue, 1 Nov 2016 05:10:56 +0000 (13:10 +0800)
components/openssl/platform/ssl_port.c

index b333fdbfba9de9848be81982e673c5909912ab27..1f195101164d4e68c56e7401dbb6672fdc1b6f54 100644 (file)
@@ -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
+