diff options
author | Hein-Pieter van Braam <hp@tmm.cx> | 2019-02-24 01:12:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-24 01:12:47 +0100 |
commit | e30ce69cb44cd31933dc81700d16db2c80727015 (patch) | |
tree | 40b1f1a15107e00c2f3e720ee03275c82991531c | |
parent | bfa9be85d38ad935bd4b8198767db3fe1ab1dcda (diff) | |
parent | e33e0a5ea70567ff1a88ab60281b891cdcb095a9 (diff) |
Merge pull request #26154 from hpvb/disable-via-padlock
Disable support for VIA Padlock
-rw-r--r-- | thirdparty/README.md | 1 | ||||
-rw-r--r-- | thirdparty/mbedtls/include/mbedtls/config.h | 4 | ||||
-rw-r--r-- | thirdparty/mbedtls/padlock.diff | 13 |
3 files changed, 17 insertions, 1 deletions
diff --git a/thirdparty/README.md b/thirdparty/README.md index c70e931c52..4fd8b14f77 100644 --- a/thirdparty/README.md +++ b/thirdparty/README.md @@ -287,6 +287,7 @@ File extracted from upstream release tarball `mbedtls-2.16.0-apache.tgz`: - All `*.h` from `include/mbedtls/` to `thirdparty/mbedtls/include/mbedtls/` - All `*.c` from `library/` to `thirdparty/mbedtls/library/` - Applied the patch in `thirdparty/mbedtls/1453.diff` (PR 1453). Soon to be merged upstream. Check it out at next update. +- Applied the patch in `thirdparty/mbedtls/padlock.diff`. This disables VIA padlock support which defines a symbol `unsupported` which clashses with a symbol in libwebsockets. ## miniupnpc diff --git a/thirdparty/mbedtls/include/mbedtls/config.h b/thirdparty/mbedtls/include/mbedtls/config.h index 91cc5bddf8..51d66291a5 100644 --- 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 diff --git a/thirdparty/mbedtls/padlock.diff b/thirdparty/mbedtls/padlock.diff new file mode 100644 index 0000000000..6ace48891c --- /dev/null +++ b/thirdparty/mbedtls/padlock.diff @@ -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 |