mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:17:45 +00:00
Ports: mbedtls
This is a very basic mbedtls port. I've disabled the networking bits, since they want some macros that we don't have defined. We might not even want the networking functions anyway, since they wouldn't play very nice with CEventLoop and friends.
This commit is contained in:
parent
c0ba6f69f0
commit
cd235ce27d
3 changed files with 59 additions and 0 deletions
12
Ports/mbedtls/remove-net-from-config.patch
Normal file
12
Ports/mbedtls/remove-net-from-config.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff -u -r mbedtls/include/mbedtls/config.h mbedtls-patched/include/mbedtls/config.h
|
||||
--- mbedtls/include/mbedtls/config.h 2019-06-18 23:23:28.000000000 +1000
|
||||
+++ mbedtls-patched/include/mbedtls/config.h 2019-08-05 00:27:17.322830039 +1000
|
||||
@@ -2460,7 +2460,7 @@
|
||||
*
|
||||
* This module provides networking routines.
|
||||
*/
|
||||
-#define MBEDTLS_NET_C
|
||||
+//#define MBEDTLS_NET_C
|
||||
|
||||
/**
|
||||
* \def MBEDTLS_OID_C
|
Loading…
Add table
Add a link
Reference in a new issue