summaryrefslogtreecommitdiff
path: root/thirdparty
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-06-07 10:46:05 +0200
committerRémi Verschelde <rverschelde@gmail.com>2018-06-07 10:46:05 +0200
commitd0811ed3f9604b2dab755ab6df0a2950fd1ccede (patch)
treeebb74de9c5c8c2b9eecb898121307755ca5ba0a7 /thirdparty
parent7d392cd6f496374aea98e8f5c85792acb6f8bc7a (diff)
Thirdparty: Fill copyright for lws, miniupnpc, clipper
Rename `lws` to `libwebsockets` which is its library name. Add missing license file for mbedtls.
Diffstat (limited to 'thirdparty')
-rw-r--r--thirdparty/README.md15
-rw-r--r--thirdparty/libwebsockets/LICENSE.txt (renamed from thirdparty/lws/LICENSE.txt)0
-rw-r--r--thirdparty/libwebsockets/alloc.c (renamed from thirdparty/lws/alloc.c)0
-rw-r--r--thirdparty/libwebsockets/client/client-handshake.c (renamed from thirdparty/lws/client/client-handshake.c)0
-rw-r--r--thirdparty/libwebsockets/client/client-parser.c (renamed from thirdparty/lws/client/client-parser.c)0
-rw-r--r--thirdparty/libwebsockets/client/client.c (renamed from thirdparty/lws/client/client.c)0
-rw-r--r--thirdparty/libwebsockets/client/ssl-client.c (renamed from thirdparty/lws/client/ssl-client.c)0
-rw-r--r--thirdparty/libwebsockets/context.c (renamed from thirdparty/lws/context.c)0
-rw-r--r--thirdparty/libwebsockets/ext/extension-permessage-deflate.c (renamed from thirdparty/lws/ext/extension-permessage-deflate.c)0
-rw-r--r--thirdparty/libwebsockets/ext/extension-permessage-deflate.h (renamed from thirdparty/lws/ext/extension-permessage-deflate.h)0
-rw-r--r--thirdparty/libwebsockets/ext/extension.c (renamed from thirdparty/lws/ext/extension.c)0
-rw-r--r--thirdparty/libwebsockets/handshake.c (renamed from thirdparty/lws/handshake.c)0
-rw-r--r--thirdparty/libwebsockets/header.c (renamed from thirdparty/lws/header.c)0
-rw-r--r--thirdparty/libwebsockets/lextable-strings.h (renamed from thirdparty/lws/lextable-strings.h)0
-rw-r--r--thirdparty/libwebsockets/lextable.h (renamed from thirdparty/lws/lextable.h)0
-rw-r--r--thirdparty/libwebsockets/libwebsockets.c (renamed from thirdparty/lws/libwebsockets.c)0
-rw-r--r--thirdparty/libwebsockets/libwebsockets.h (renamed from thirdparty/lws/libwebsockets.h)0
-rw-r--r--thirdparty/libwebsockets/lws_config.h (renamed from thirdparty/lws/lws_config.h)0
-rw-r--r--thirdparty/libwebsockets/lws_config_private.h (renamed from thirdparty/lws/lws_config_private.h)0
-rw-r--r--thirdparty/libwebsockets/mbedtls_verify.diff (renamed from thirdparty/lws/mbedtls_verify.diff)12
-rw-r--r--thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl3.h (renamed from thirdparty/lws/mbedtls_wrapper/include/internal/ssl3.h)0
-rw-r--r--thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl_cert.h (renamed from thirdparty/lws/mbedtls_wrapper/include/internal/ssl_cert.h)0
-rw-r--r--thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl_code.h (renamed from thirdparty/lws/mbedtls_wrapper/include/internal/ssl_code.h)0
-rw-r--r--thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl_dbg.h (renamed from thirdparty/lws/mbedtls_wrapper/include/internal/ssl_dbg.h)0
-rw-r--r--thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl_lib.h (renamed from thirdparty/lws/mbedtls_wrapper/include/internal/ssl_lib.h)0
-rw-r--r--thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl_methods.h (renamed from thirdparty/lws/mbedtls_wrapper/include/internal/ssl_methods.h)0
-rw-r--r--thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl_pkey.h (renamed from thirdparty/lws/mbedtls_wrapper/include/internal/ssl_pkey.h)0
-rw-r--r--thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl_stack.h (renamed from thirdparty/lws/mbedtls_wrapper/include/internal/ssl_stack.h)0
-rw-r--r--thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl_types.h (renamed from thirdparty/lws/mbedtls_wrapper/include/internal/ssl_types.h)0
-rw-r--r--thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl_x509.h (renamed from thirdparty/lws/mbedtls_wrapper/include/internal/ssl_x509.h)0
-rw-r--r--thirdparty/libwebsockets/mbedtls_wrapper/include/internal/tls1.h (renamed from thirdparty/lws/mbedtls_wrapper/include/internal/tls1.h)0
-rw-r--r--thirdparty/libwebsockets/mbedtls_wrapper/include/internal/x509_vfy.h (renamed from thirdparty/lws/mbedtls_wrapper/include/internal/x509_vfy.h)0
-rw-r--r--thirdparty/libwebsockets/mbedtls_wrapper/include/openssl/ssl.h (renamed from thirdparty/lws/mbedtls_wrapper/include/openssl/ssl.h)0
-rw-r--r--thirdparty/libwebsockets/mbedtls_wrapper/include/platform/ssl_pm.h (renamed from thirdparty/lws/mbedtls_wrapper/include/platform/ssl_pm.h)0
-rw-r--r--thirdparty/libwebsockets/mbedtls_wrapper/include/platform/ssl_port.h (renamed from thirdparty/lws/mbedtls_wrapper/include/platform/ssl_port.h)0
-rw-r--r--thirdparty/libwebsockets/mbedtls_wrapper/library/ssl_cert.c (renamed from thirdparty/lws/mbedtls_wrapper/library/ssl_cert.c)0
-rw-r--r--thirdparty/libwebsockets/mbedtls_wrapper/library/ssl_lib.c (renamed from thirdparty/lws/mbedtls_wrapper/library/ssl_lib.c)0
-rw-r--r--thirdparty/libwebsockets/mbedtls_wrapper/library/ssl_methods.c (renamed from thirdparty/lws/mbedtls_wrapper/library/ssl_methods.c)0
-rw-r--r--thirdparty/libwebsockets/mbedtls_wrapper/library/ssl_pkey.c (renamed from thirdparty/lws/mbedtls_wrapper/library/ssl_pkey.c)0
-rw-r--r--thirdparty/libwebsockets/mbedtls_wrapper/library/ssl_stack.c (renamed from thirdparty/lws/mbedtls_wrapper/library/ssl_stack.c)0
-rw-r--r--thirdparty/libwebsockets/mbedtls_wrapper/library/ssl_x509.c (renamed from thirdparty/lws/mbedtls_wrapper/library/ssl_x509.c)0
-rw-r--r--thirdparty/libwebsockets/mbedtls_wrapper/platform/ssl_pm.c (renamed from thirdparty/lws/mbedtls_wrapper/platform/ssl_pm.c)0
-rw-r--r--thirdparty/libwebsockets/mbedtls_wrapper/platform/ssl_port.c (renamed from thirdparty/lws/mbedtls_wrapper/platform/ssl_port.c)0
-rw-r--r--thirdparty/libwebsockets/misc/base64-decode.c (renamed from thirdparty/lws/misc/base64-decode.c)0
-rw-r--r--thirdparty/libwebsockets/misc/getifaddrs.c (renamed from thirdparty/lws/misc/getifaddrs.c)0
-rw-r--r--thirdparty/libwebsockets/misc/getifaddrs.h (renamed from thirdparty/lws/misc/getifaddrs.h)0
-rw-r--r--thirdparty/libwebsockets/misc/lejp.c (renamed from thirdparty/lws/misc/lejp.c)0
-rw-r--r--thirdparty/libwebsockets/misc/lejp.h (renamed from thirdparty/lws/misc/lejp.h)0
-rw-r--r--thirdparty/libwebsockets/misc/sha-1.c (renamed from thirdparty/lws/misc/sha-1.c)0
-rw-r--r--thirdparty/libwebsockets/output.c (renamed from thirdparty/lws/output.c)0
-rw-r--r--thirdparty/libwebsockets/plat/lws-plat-unix.c (renamed from thirdparty/lws/plat/lws-plat-unix.c)0
-rw-r--r--thirdparty/libwebsockets/plat/lws-plat-win.c (renamed from thirdparty/lws/plat/lws-plat-win.c)0
-rw-r--r--thirdparty/libwebsockets/pollfd.c (renamed from thirdparty/lws/pollfd.c)0
-rw-r--r--thirdparty/libwebsockets/private-libwebsockets.h (renamed from thirdparty/lws/private-libwebsockets.h)0
-rw-r--r--thirdparty/libwebsockets/server/fops-zip.c (renamed from thirdparty/lws/server/fops-zip.c)0
-rw-r--r--thirdparty/libwebsockets/server/lejp-conf.c (renamed from thirdparty/lws/server/lejp-conf.c)0
-rw-r--r--thirdparty/libwebsockets/server/parsers.c (renamed from thirdparty/lws/server/parsers.c)0
-rw-r--r--thirdparty/libwebsockets/server/ranges.c (renamed from thirdparty/lws/server/ranges.c)0
-rw-r--r--thirdparty/libwebsockets/server/server-handshake.c (renamed from thirdparty/lws/server/server-handshake.c)0
-rw-r--r--thirdparty/libwebsockets/server/server.c (renamed from thirdparty/lws/server/server.c)0
-rw-r--r--thirdparty/libwebsockets/server/ssl-server.c (renamed from thirdparty/lws/server/ssl-server.c)0
-rw-r--r--thirdparty/libwebsockets/service.c (renamed from thirdparty/lws/service.c)0
-rw-r--r--thirdparty/libwebsockets/ssl.c (renamed from thirdparty/lws/ssl.c)0
-rw-r--r--thirdparty/libwebsockets/win32helpers/getopt.c (renamed from thirdparty/lws/win32helpers/getopt.c)0
-rw-r--r--thirdparty/libwebsockets/win32helpers/getopt.h (renamed from thirdparty/lws/win32helpers/getopt.h)0
-rw-r--r--thirdparty/libwebsockets/win32helpers/getopt_long.c (renamed from thirdparty/lws/win32helpers/getopt_long.c)0
-rw-r--r--thirdparty/libwebsockets/win32helpers/gettimeofday.c (renamed from thirdparty/lws/win32helpers/gettimeofday.c)0
-rw-r--r--thirdparty/libwebsockets/win32helpers/gettimeofday.h (renamed from thirdparty/lws/win32helpers/gettimeofday.h)0
-rw-r--r--thirdparty/mbedtls/LICENSE2
-rw-r--r--thirdparty/mbedtls/apache-2.0.txt202
70 files changed, 223 insertions, 8 deletions
diff --git a/thirdparty/README.md b/thirdparty/README.md
index ac5fe21f1d..724c6978f0 100644
--- a/thirdparty/README.md
+++ b/thirdparty/README.md
@@ -15,6 +15,7 @@ Important: Some files have Godot-made changes.
They are marked with `// -- GODOT start --` and `// -- GODOT end --`
comments.
+
## bullet
- Upstream: https://github.com/bulletphysics/bullet3
@@ -76,6 +77,7 @@ Important: Some files have Godot-made changes.
They are marked with `// -- GODOT start --` and `// -- GODOT end --`
comments.
+
## fonts
### Noto Sans
@@ -175,6 +177,7 @@ Important: Some files have Godot-made changes.
They are marked with `// -- GODOT start --` and `// -- GODOT end --`
comments.
+
## libtheora
- Upstream: https://www.theora.org
@@ -246,12 +249,13 @@ File extracted from upstream source:
- Also copy `win32helpers/` from `win32port/`
- `mbedtls_wrapper/include/platform/ssl_port.h` has a small change to check for OSX and FreeBSD (missing `malloc.h`).
The bug is fixed in upstream master via `LWS_HAVE_MALLOC_H`, but not in the 2.4.1 branch (as the file structure has changed).
-- You might need to apply the patch in `thirdparty/lws/mbedtls_verify.diff` (port of PR 1215) to future `2.4.x` releases if it does not get cherry picked.
+- You might need to apply the patch in `thirdparty/libwebsockets/mbedtls_verify.diff` (port of PR 1215) to future `2.4.x` releases if it does not get cherry picked.
Important: `lws_config.h` and `lws_config_private.h` contains custom
Godot build configurations, check them out when updating.
-## mbedTLS
+
+## mbedtls
- Upstream: https://tls.mbed.org/
- Version: 2.8.0
@@ -264,6 +268,7 @@ File extracted from upstream release tarball `mbedtls-2.8.0-apache.tgz`:
Be sure to check the Godot addition to only redfine it when undefined or `< 0x0501` (PRed upstream).
- Applied the patch in `thirdparty/mbedtls/1453.diff` (PR 1453). Soon to be merged upstream. Check it out at next update.
+
## miniupnpc
- Upstream: https://github.com/miniupnp/miniupnp/tree/master/miniupnpc
@@ -272,6 +277,7 @@ File extracted from upstream release tarball `mbedtls-2.8.0-apache.tgz`:
The only modified file is miniupnpcstrings.h, which was created for Godot (is usually autogenerated by cmake).
+
## minizip
- Upstream: http://www.zlib.net
@@ -301,6 +307,10 @@ Collection of single-file libraries used in Godot components.
* Upstream: http://episec.com/people/edelkind/c.html
* Version: latest, as of April 2017
* License: Public Domain
+ - `clipper.{cpp,hpp}`
+ * Upstream: https://sourceforge.net/projects/polyclipping
+ * Version: 6.4.2
+ * License: BSL-1.0
- `fastlz.{c,h}`
* Upstream: https://github.com/ariya/FastLZ
* Version: git (f121734, 2007)
@@ -369,6 +379,7 @@ Files extracted from the upstream source:
- All .h files in `src/`
- LICENSE.txt
+
## opus
- Upstream: https://opus-codec.org
diff --git a/thirdparty/lws/LICENSE.txt b/thirdparty/libwebsockets/LICENSE.txt
index 34a42d5687..34a42d5687 100644
--- a/thirdparty/lws/LICENSE.txt
+++ b/thirdparty/libwebsockets/LICENSE.txt
diff --git a/thirdparty/lws/alloc.c b/thirdparty/libwebsockets/alloc.c
index 898db12464..898db12464 100644
--- a/thirdparty/lws/alloc.c
+++ b/thirdparty/libwebsockets/alloc.c
diff --git a/thirdparty/lws/client/client-handshake.c b/thirdparty/libwebsockets/client/client-handshake.c
index c2720d9283..c2720d9283 100644
--- a/thirdparty/lws/client/client-handshake.c
+++ b/thirdparty/libwebsockets/client/client-handshake.c
diff --git a/thirdparty/lws/client/client-parser.c b/thirdparty/libwebsockets/client/client-parser.c
index 0e42dac362..0e42dac362 100644
--- a/thirdparty/lws/client/client-parser.c
+++ b/thirdparty/libwebsockets/client/client-parser.c
diff --git a/thirdparty/lws/client/client.c b/thirdparty/libwebsockets/client/client.c
index ded4e4bf0b..ded4e4bf0b 100644
--- a/thirdparty/lws/client/client.c
+++ b/thirdparty/libwebsockets/client/client.c
diff --git a/thirdparty/lws/client/ssl-client.c b/thirdparty/libwebsockets/client/ssl-client.c
index 962c6e3cb5..962c6e3cb5 100644
--- a/thirdparty/lws/client/ssl-client.c
+++ b/thirdparty/libwebsockets/client/ssl-client.c
diff --git a/thirdparty/lws/context.c b/thirdparty/libwebsockets/context.c
index 9f221f50f1..9f221f50f1 100644
--- a/thirdparty/lws/context.c
+++ b/thirdparty/libwebsockets/context.c
diff --git a/thirdparty/lws/ext/extension-permessage-deflate.c b/thirdparty/libwebsockets/ext/extension-permessage-deflate.c
index e2be2ae615..e2be2ae615 100644
--- a/thirdparty/lws/ext/extension-permessage-deflate.c
+++ b/thirdparty/libwebsockets/ext/extension-permessage-deflate.c
diff --git a/thirdparty/lws/ext/extension-permessage-deflate.h b/thirdparty/libwebsockets/ext/extension-permessage-deflate.h
index 8737736897..8737736897 100644
--- a/thirdparty/lws/ext/extension-permessage-deflate.h
+++ b/thirdparty/libwebsockets/ext/extension-permessage-deflate.h
diff --git a/thirdparty/lws/ext/extension.c b/thirdparty/libwebsockets/ext/extension.c
index ac28204034..ac28204034 100644
--- a/thirdparty/lws/ext/extension.c
+++ b/thirdparty/libwebsockets/ext/extension.c
diff --git a/thirdparty/lws/handshake.c b/thirdparty/libwebsockets/handshake.c
index bc7609d920..bc7609d920 100644
--- a/thirdparty/lws/handshake.c
+++ b/thirdparty/libwebsockets/handshake.c
diff --git a/thirdparty/lws/header.c b/thirdparty/libwebsockets/header.c
index e2562cd6ea..e2562cd6ea 100644
--- a/thirdparty/lws/header.c
+++ b/thirdparty/libwebsockets/header.c
diff --git a/thirdparty/lws/lextable-strings.h b/thirdparty/libwebsockets/lextable-strings.h
index ab42c3e476..ab42c3e476 100644
--- a/thirdparty/lws/lextable-strings.h
+++ b/thirdparty/libwebsockets/lextable-strings.h
diff --git a/thirdparty/lws/lextable.h b/thirdparty/libwebsockets/lextable.h
index f940afd25b..f940afd25b 100644
--- a/thirdparty/lws/lextable.h
+++ b/thirdparty/libwebsockets/lextable.h
diff --git a/thirdparty/lws/libwebsockets.c b/thirdparty/libwebsockets/libwebsockets.c
index 8fe0854041..8fe0854041 100644
--- a/thirdparty/lws/libwebsockets.c
+++ b/thirdparty/libwebsockets/libwebsockets.c
diff --git a/thirdparty/lws/libwebsockets.h b/thirdparty/libwebsockets/libwebsockets.h
index 460c732602..460c732602 100644
--- a/thirdparty/lws/libwebsockets.h
+++ b/thirdparty/libwebsockets/libwebsockets.h
diff --git a/thirdparty/lws/lws_config.h b/thirdparty/libwebsockets/lws_config.h
index 6005d94ec6..6005d94ec6 100644
--- a/thirdparty/lws/lws_config.h
+++ b/thirdparty/libwebsockets/lws_config.h
diff --git a/thirdparty/lws/lws_config_private.h b/thirdparty/libwebsockets/lws_config_private.h
index 475d1bd3f8..475d1bd3f8 100644
--- a/thirdparty/lws/lws_config_private.h
+++ b/thirdparty/libwebsockets/lws_config_private.h
diff --git a/thirdparty/lws/mbedtls_verify.diff b/thirdparty/libwebsockets/mbedtls_verify.diff
index d320645d67..25c7f4bbdc 100644
--- a/thirdparty/lws/mbedtls_verify.diff
+++ b/thirdparty/libwebsockets/mbedtls_verify.diff
@@ -1,7 +1,7 @@
-diff --git a/thirdparty/lws/client/ssl-client.c b/thirdparty/lws/client/ssl-client.c
+diff --git a/thirdparty/libwebsockets/client/ssl-client.c b/thirdparty/libwebsockets/client/ssl-client.c
index 6626e0844..962c6e3cb 100644
---- a/thirdparty/lws/client/ssl-client.c
-+++ b/thirdparty/lws/client/ssl-client.c
+--- a/thirdparty/libwebsockets/client/ssl-client.c
++++ b/thirdparty/libwebsockets/client/ssl-client.c
@@ -176,11 +176,7 @@ lws_ssl_client_bio_create(struct lws *wsi)
#endif
#else
@@ -15,10 +15,10 @@ index 6626e0844..962c6e3cb 100644
#else
#ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME
SSL_set_tlsext_host_name(wsi->ssl, hostname);
-diff --git a/thirdparty/lws/mbedtls_wrapper/platform/ssl_pm.c b/thirdparty/lws/mbedtls_wrapper/platform/ssl_pm.c
+diff --git a/thirdparty/libwebsockets/mbedtls_wrapper/platform/ssl_pm.c b/thirdparty/libwebsockets/mbedtls_wrapper/platform/ssl_pm.c
index 63504919c..4e3d61109 100644
---- a/thirdparty/lws/mbedtls_wrapper/platform/ssl_pm.c
-+++ b/thirdparty/lws/mbedtls_wrapper/platform/ssl_pm.c
+--- a/thirdparty/libwebsockets/mbedtls_wrapper/platform/ssl_pm.c
++++ b/thirdparty/libwebsockets/mbedtls_wrapper/platform/ssl_pm.c
@@ -218,7 +218,7 @@ static int ssl_pm_reload_crt(SSL *ssl)
struct x509_pm *crt_pm = (struct x509_pm *)ssl->cert->x509->x509_pm;
diff --git a/thirdparty/lws/mbedtls_wrapper/include/internal/ssl3.h b/thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl3.h
index 007b392f3e..007b392f3e 100644
--- a/thirdparty/lws/mbedtls_wrapper/include/internal/ssl3.h
+++ b/thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl3.h
diff --git a/thirdparty/lws/mbedtls_wrapper/include/internal/ssl_cert.h b/thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl_cert.h
index 86cf31ad51..86cf31ad51 100644
--- a/thirdparty/lws/mbedtls_wrapper/include/internal/ssl_cert.h
+++ b/thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl_cert.h
diff --git a/thirdparty/lws/mbedtls_wrapper/include/internal/ssl_code.h b/thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl_code.h
index 80fdbb20f3..80fdbb20f3 100644
--- a/thirdparty/lws/mbedtls_wrapper/include/internal/ssl_code.h
+++ b/thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl_code.h
diff --git a/thirdparty/lws/mbedtls_wrapper/include/internal/ssl_dbg.h b/thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl_dbg.h
index ad32cb92ff..ad32cb92ff 100644
--- a/thirdparty/lws/mbedtls_wrapper/include/internal/ssl_dbg.h
+++ b/thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl_dbg.h
diff --git a/thirdparty/lws/mbedtls_wrapper/include/internal/ssl_lib.h b/thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl_lib.h
index 42b2de7501..42b2de7501 100644
--- a/thirdparty/lws/mbedtls_wrapper/include/internal/ssl_lib.h
+++ b/thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl_lib.h
diff --git a/thirdparty/lws/mbedtls_wrapper/include/internal/ssl_methods.h b/thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl_methods.h
index cd2f8c0533..cd2f8c0533 100644
--- a/thirdparty/lws/mbedtls_wrapper/include/internal/ssl_methods.h
+++ b/thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl_methods.h
diff --git a/thirdparty/lws/mbedtls_wrapper/include/internal/ssl_pkey.h b/thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl_pkey.h
index e790fcc995..e790fcc995 100644
--- a/thirdparty/lws/mbedtls_wrapper/include/internal/ssl_pkey.h
+++ b/thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl_pkey.h
diff --git a/thirdparty/lws/mbedtls_wrapper/include/internal/ssl_stack.h b/thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl_stack.h
index 7a7051a026..7a7051a026 100644
--- a/thirdparty/lws/mbedtls_wrapper/include/internal/ssl_stack.h
+++ b/thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl_stack.h
diff --git a/thirdparty/lws/mbedtls_wrapper/include/internal/ssl_types.h b/thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl_types.h
index 2ca438c422..2ca438c422 100644
--- a/thirdparty/lws/mbedtls_wrapper/include/internal/ssl_types.h
+++ b/thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl_types.h
diff --git a/thirdparty/lws/mbedtls_wrapper/include/internal/ssl_x509.h b/thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl_x509.h
index 7594d064b4..7594d064b4 100644
--- a/thirdparty/lws/mbedtls_wrapper/include/internal/ssl_x509.h
+++ b/thirdparty/libwebsockets/mbedtls_wrapper/include/internal/ssl_x509.h
diff --git a/thirdparty/lws/mbedtls_wrapper/include/internal/tls1.h b/thirdparty/libwebsockets/mbedtls_wrapper/include/internal/tls1.h
index 7af1b0157d..7af1b0157d 100644
--- a/thirdparty/lws/mbedtls_wrapper/include/internal/tls1.h
+++ b/thirdparty/libwebsockets/mbedtls_wrapper/include/internal/tls1.h
diff --git a/thirdparty/lws/mbedtls_wrapper/include/internal/x509_vfy.h b/thirdparty/libwebsockets/mbedtls_wrapper/include/internal/x509_vfy.h
index 26bf6c88a8..26bf6c88a8 100644
--- a/thirdparty/lws/mbedtls_wrapper/include/internal/x509_vfy.h
+++ b/thirdparty/libwebsockets/mbedtls_wrapper/include/internal/x509_vfy.h
diff --git a/thirdparty/lws/mbedtls_wrapper/include/openssl/ssl.h b/thirdparty/libwebsockets/mbedtls_wrapper/include/openssl/ssl.h
index 5a84b4552e..5a84b4552e 100644
--- a/thirdparty/lws/mbedtls_wrapper/include/openssl/ssl.h
+++ b/thirdparty/libwebsockets/mbedtls_wrapper/include/openssl/ssl.h
diff --git a/thirdparty/lws/mbedtls_wrapper/include/platform/ssl_pm.h b/thirdparty/libwebsockets/mbedtls_wrapper/include/platform/ssl_pm.h
index cbbe3aa3a2..cbbe3aa3a2 100644
--- a/thirdparty/lws/mbedtls_wrapper/include/platform/ssl_pm.h
+++ b/thirdparty/libwebsockets/mbedtls_wrapper/include/platform/ssl_pm.h
diff --git a/thirdparty/lws/mbedtls_wrapper/include/platform/ssl_port.h b/thirdparty/libwebsockets/mbedtls_wrapper/include/platform/ssl_port.h
index eca68f20d1..eca68f20d1 100644
--- a/thirdparty/lws/mbedtls_wrapper/include/platform/ssl_port.h
+++ b/thirdparty/libwebsockets/mbedtls_wrapper/include/platform/ssl_port.h
diff --git a/thirdparty/lws/mbedtls_wrapper/library/ssl_cert.c b/thirdparty/libwebsockets/mbedtls_wrapper/library/ssl_cert.c
index 5c608125ac..5c608125ac 100644
--- a/thirdparty/lws/mbedtls_wrapper/library/ssl_cert.c
+++ b/thirdparty/libwebsockets/mbedtls_wrapper/library/ssl_cert.c
diff --git a/thirdparty/lws/mbedtls_wrapper/library/ssl_lib.c b/thirdparty/libwebsockets/mbedtls_wrapper/library/ssl_lib.c
index d8fdd06fad..d8fdd06fad 100644
--- a/thirdparty/lws/mbedtls_wrapper/library/ssl_lib.c
+++ b/thirdparty/libwebsockets/mbedtls_wrapper/library/ssl_lib.c
diff --git a/thirdparty/lws/mbedtls_wrapper/library/ssl_methods.c b/thirdparty/libwebsockets/mbedtls_wrapper/library/ssl_methods.c
index 0002360846..0002360846 100644
--- a/thirdparty/lws/mbedtls_wrapper/library/ssl_methods.c
+++ b/thirdparty/libwebsockets/mbedtls_wrapper/library/ssl_methods.c
diff --git a/thirdparty/lws/mbedtls_wrapper/library/ssl_pkey.c b/thirdparty/libwebsockets/mbedtls_wrapper/library/ssl_pkey.c
index 567a33e2c2..567a33e2c2 100644
--- a/thirdparty/lws/mbedtls_wrapper/library/ssl_pkey.c
+++ b/thirdparty/libwebsockets/mbedtls_wrapper/library/ssl_pkey.c
diff --git a/thirdparty/lws/mbedtls_wrapper/library/ssl_stack.c b/thirdparty/libwebsockets/mbedtls_wrapper/library/ssl_stack.c
index da836daf9c..da836daf9c 100644
--- a/thirdparty/lws/mbedtls_wrapper/library/ssl_stack.c
+++ b/thirdparty/libwebsockets/mbedtls_wrapper/library/ssl_stack.c
diff --git a/thirdparty/lws/mbedtls_wrapper/library/ssl_x509.c b/thirdparty/libwebsockets/mbedtls_wrapper/library/ssl_x509.c
index 4441490a03..4441490a03 100644
--- a/thirdparty/lws/mbedtls_wrapper/library/ssl_x509.c
+++ b/thirdparty/libwebsockets/mbedtls_wrapper/library/ssl_x509.c
diff --git a/thirdparty/lws/mbedtls_wrapper/platform/ssl_pm.c b/thirdparty/libwebsockets/mbedtls_wrapper/platform/ssl_pm.c
index 4e3d611095..4e3d611095 100644
--- a/thirdparty/lws/mbedtls_wrapper/platform/ssl_pm.c
+++ b/thirdparty/libwebsockets/mbedtls_wrapper/platform/ssl_pm.c
diff --git a/thirdparty/lws/mbedtls_wrapper/platform/ssl_port.c b/thirdparty/libwebsockets/mbedtls_wrapper/platform/ssl_port.c
index 8c7a31338b..8c7a31338b 100644
--- a/thirdparty/lws/mbedtls_wrapper/platform/ssl_port.c
+++ b/thirdparty/libwebsockets/mbedtls_wrapper/platform/ssl_port.c
diff --git a/thirdparty/lws/misc/base64-decode.c b/thirdparty/libwebsockets/misc/base64-decode.c
index c8f11d21b8..c8f11d21b8 100644
--- a/thirdparty/lws/misc/base64-decode.c
+++ b/thirdparty/libwebsockets/misc/base64-decode.c
diff --git a/thirdparty/lws/misc/getifaddrs.c b/thirdparty/libwebsockets/misc/getifaddrs.c
index 4f42ab4595..4f42ab4595 100644
--- a/thirdparty/lws/misc/getifaddrs.c
+++ b/thirdparty/libwebsockets/misc/getifaddrs.c
diff --git a/thirdparty/lws/misc/getifaddrs.h b/thirdparty/libwebsockets/misc/getifaddrs.h
index d26670c082..d26670c082 100644
--- a/thirdparty/lws/misc/getifaddrs.h
+++ b/thirdparty/libwebsockets/misc/getifaddrs.h
diff --git a/thirdparty/lws/misc/lejp.c b/thirdparty/libwebsockets/misc/lejp.c
index 38efa8b122..38efa8b122 100644
--- a/thirdparty/lws/misc/lejp.c
+++ b/thirdparty/libwebsockets/misc/lejp.c
diff --git a/thirdparty/lws/misc/lejp.h b/thirdparty/libwebsockets/misc/lejp.h
index 0b37bb3e42..0b37bb3e42 100644
--- a/thirdparty/lws/misc/lejp.h
+++ b/thirdparty/libwebsockets/misc/lejp.h
diff --git a/thirdparty/lws/misc/sha-1.c b/thirdparty/libwebsockets/misc/sha-1.c
index 50205a0100..50205a0100 100644
--- a/thirdparty/lws/misc/sha-1.c
+++ b/thirdparty/libwebsockets/misc/sha-1.c
diff --git a/thirdparty/lws/output.c b/thirdparty/libwebsockets/output.c
index 375ff3ef99..375ff3ef99 100644
--- a/thirdparty/lws/output.c
+++ b/thirdparty/libwebsockets/output.c
diff --git a/thirdparty/lws/plat/lws-plat-unix.c b/thirdparty/libwebsockets/plat/lws-plat-unix.c
index a51e67bb81..a51e67bb81 100644
--- a/thirdparty/lws/plat/lws-plat-unix.c
+++ b/thirdparty/libwebsockets/plat/lws-plat-unix.c
diff --git a/thirdparty/lws/plat/lws-plat-win.c b/thirdparty/libwebsockets/plat/lws-plat-win.c
index f5b178ce85..f5b178ce85 100644
--- a/thirdparty/lws/plat/lws-plat-win.c
+++ b/thirdparty/libwebsockets/plat/lws-plat-win.c
diff --git a/thirdparty/lws/pollfd.c b/thirdparty/libwebsockets/pollfd.c
index 54a4a86057..54a4a86057 100644
--- a/thirdparty/lws/pollfd.c
+++ b/thirdparty/libwebsockets/pollfd.c
diff --git a/thirdparty/lws/private-libwebsockets.h b/thirdparty/libwebsockets/private-libwebsockets.h
index 535fa0be57..535fa0be57 100644
--- a/thirdparty/lws/private-libwebsockets.h
+++ b/thirdparty/libwebsockets/private-libwebsockets.h
diff --git a/thirdparty/lws/server/fops-zip.c b/thirdparty/libwebsockets/server/fops-zip.c
index 2b254f67af..2b254f67af 100644
--- a/thirdparty/lws/server/fops-zip.c
+++ b/thirdparty/libwebsockets/server/fops-zip.c
diff --git a/thirdparty/lws/server/lejp-conf.c b/thirdparty/libwebsockets/server/lejp-conf.c
index c2b684c278..c2b684c278 100644
--- a/thirdparty/lws/server/lejp-conf.c
+++ b/thirdparty/libwebsockets/server/lejp-conf.c
diff --git a/thirdparty/lws/server/parsers.c b/thirdparty/libwebsockets/server/parsers.c
index fb345ab04c..fb345ab04c 100644
--- a/thirdparty/lws/server/parsers.c
+++ b/thirdparty/libwebsockets/server/parsers.c
diff --git a/thirdparty/lws/server/ranges.c b/thirdparty/libwebsockets/server/ranges.c
index bc1578d733..bc1578d733 100644
--- a/thirdparty/lws/server/ranges.c
+++ b/thirdparty/libwebsockets/server/ranges.c
diff --git a/thirdparty/lws/server/server-handshake.c b/thirdparty/libwebsockets/server/server-handshake.c
index 3d319c35d6..3d319c35d6 100644
--- a/thirdparty/lws/server/server-handshake.c
+++ b/thirdparty/libwebsockets/server/server-handshake.c
diff --git a/thirdparty/lws/server/server.c b/thirdparty/libwebsockets/server/server.c
index db05954257..db05954257 100644
--- a/thirdparty/lws/server/server.c
+++ b/thirdparty/libwebsockets/server/server.c
diff --git a/thirdparty/lws/server/ssl-server.c b/thirdparty/libwebsockets/server/ssl-server.c
index c4362824bf..c4362824bf 100644
--- a/thirdparty/lws/server/ssl-server.c
+++ b/thirdparty/libwebsockets/server/ssl-server.c
diff --git a/thirdparty/lws/service.c b/thirdparty/libwebsockets/service.c
index 8cf455e2c9..8cf455e2c9 100644
--- a/thirdparty/lws/service.c
+++ b/thirdparty/libwebsockets/service.c
diff --git a/thirdparty/lws/ssl.c b/thirdparty/libwebsockets/ssl.c
index 4ff3088ab3..4ff3088ab3 100644
--- a/thirdparty/lws/ssl.c
+++ b/thirdparty/libwebsockets/ssl.c
diff --git a/thirdparty/lws/win32helpers/getopt.c b/thirdparty/libwebsockets/win32helpers/getopt.c
index 3bb21f6f28..3bb21f6f28 100644
--- a/thirdparty/lws/win32helpers/getopt.c
+++ b/thirdparty/libwebsockets/win32helpers/getopt.c
diff --git a/thirdparty/lws/win32helpers/getopt.h b/thirdparty/libwebsockets/win32helpers/getopt.h
index 7137f0379c..7137f0379c 100644
--- a/thirdparty/lws/win32helpers/getopt.h
+++ b/thirdparty/libwebsockets/win32helpers/getopt.h
diff --git a/thirdparty/lws/win32helpers/getopt_long.c b/thirdparty/libwebsockets/win32helpers/getopt_long.c
index 5bcf40060f..5bcf40060f 100644
--- a/thirdparty/lws/win32helpers/getopt_long.c
+++ b/thirdparty/libwebsockets/win32helpers/getopt_long.c
diff --git a/thirdparty/lws/win32helpers/gettimeofday.c b/thirdparty/libwebsockets/win32helpers/gettimeofday.c
index 35dd73531d..35dd73531d 100644
--- a/thirdparty/lws/win32helpers/gettimeofday.c
+++ b/thirdparty/libwebsockets/win32helpers/gettimeofday.c
diff --git a/thirdparty/lws/win32helpers/gettimeofday.h b/thirdparty/libwebsockets/win32helpers/gettimeofday.h
index 33e7a750fe..33e7a750fe 100644
--- a/thirdparty/lws/win32helpers/gettimeofday.h
+++ b/thirdparty/libwebsockets/win32helpers/gettimeofday.h
diff --git a/thirdparty/mbedtls/LICENSE b/thirdparty/mbedtls/LICENSE
new file mode 100644
index 0000000000..546a8e631f
--- /dev/null
+++ b/thirdparty/mbedtls/LICENSE
@@ -0,0 +1,2 @@
+Unless specifically indicated otherwise in a file, files are licensed
+under the Apache 2.0 license, as can be found in: apache-2.0.txt
diff --git a/thirdparty/mbedtls/apache-2.0.txt b/thirdparty/mbedtls/apache-2.0.txt
new file mode 100644
index 0000000000..d645695673
--- /dev/null
+++ b/thirdparty/mbedtls/apache-2.0.txt
@@ -0,0 +1,202 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.