mbedtls: Re-add patch to disable VIA padlock

The comment mentioned a conflict with libwebsockets, but we actually
still get this conflict even now that we don't use libwebsockets.
Not sure what component is clashing but we should basically just keep
this patch.

Follow-up to #36823.
This commit is contained in:
Rémi Verschelde
2020-03-10 09:11:16 +01:00
parent f70b5fa30c
commit 8189abd64a
3 changed files with 19 additions and 1 deletions

View File

@ -2542,7 +2542,9 @@
*
* This modules adds support for the VIA PadLock on x86.
*/
#define MBEDTLS_PADLOCK_C
// -- GODOT start --
// #define MBEDTLS_PADLOCK_C
// -- GODOT end --
/**
* \def MBEDTLS_PEM_PARSE_C

13
thirdparty/mbedtls/patches/padlock.diff vendored Normal file
View File

@ -0,0 +1,13 @@
--- a/thirdparty/mbedtls/include/mbedtls/config.h
+++ b/thirdparty/mbedtls/include/mbedtls/config.h
@@ -2477,7 +2477,9 @@
*
* This modules adds support for the VIA PadLock on x86.
*/
-#define MBEDTLS_PADLOCK_C
+// -- GODOT start --
+// #define MBEDTLS_PADLOCK_C
+// -- GODOT end --
/**
* \def MBEDTLS_PEM_PARSE_C