summaryrefslogtreecommitdiff
path: root/Ports/mbedtls/patches/0002-Remove-NET_C-from-config.patch
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/mbedtls/patches/0002-Remove-NET_C-from-config.patch')
-rw-r--r--Ports/mbedtls/patches/0002-Remove-NET_C-from-config.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/Ports/mbedtls/patches/0002-Remove-NET_C-from-config.patch b/Ports/mbedtls/patches/0002-Remove-NET_C-from-config.patch
new file mode 100644
index 0000000000..dee1032e8d
--- /dev/null
+++ b/Ports/mbedtls/patches/0002-Remove-NET_C-from-config.patch
@@ -0,0 +1,25 @@
+From e889bf88c3eb76ab6646f2e99fb029b63dac7379 Mon Sep 17 00:00:00 2001
+From: Larkin <45925460+larb0b@users.noreply.github.com>
+Date: Tue, 24 Sep 2019 02:56:39 -0400
+Subject: [PATCH 2/2] Remove NET_C from config
+
+---
+ include/mbedtls/config.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/include/mbedtls/config.h b/include/mbedtls/config.h
+index 654f972..5b37f1f 100644
+--- a/include/mbedtls/config.h
++++ b/include/mbedtls/config.h
+@@ -2460,7 +2460,7 @@
+ *
+ * This module provides networking routines.
+ */
+-#define MBEDTLS_NET_C
++//#define MBEDTLS_NET_C
+
+ /**
+ * \def MBEDTLS_OID_C
+--
+2.36.1
+