Disable support for VIA Padlock
This code defines a symbol 'unsupported' which is also in a newer version of libwebsockets. To fix 32bit linux builds just disable padlock support. Processors that support this are rare and old.
This commit is contained in:
4
thirdparty/mbedtls/include/mbedtls/config.h
vendored
4
thirdparty/mbedtls/include/mbedtls/config.h
vendored
@ -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
|
||||
|
||||
13
thirdparty/mbedtls/padlock.diff
vendored
Normal file
13
thirdparty/mbedtls/padlock.diff
vendored
Normal 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
|
||||
Reference in New Issue
Block a user