aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/lws/mbedtls_wrapper/include
diff options
context:
space:
mode:
authorFabio Alessandrelli2018-03-18 16:37:51 +0100
committerFabio Alessandrelli2018-04-03 19:25:24 +0200
commit262cb262eb6c10c808dbbd85dd9103ab0f99c32b (patch)
tree846176d97409c50349ee59889ee4de28b9051c41 /thirdparty/lws/mbedtls_wrapper/include
parent9ad180029876a53747df577d8925a055f6b9687e (diff)
downloadgodot-262cb262eb6c10c808dbbd85dd9103ab0f99c32b.tar.gz
godot-262cb262eb6c10c808dbbd85dd9103ab0f99c32b.tar.zst
godot-262cb262eb6c10c808dbbd85dd9103ab0f99c32b.zip
Bump libwebsockets to version 2.4.2
Diffstat (limited to 'thirdparty/lws/mbedtls_wrapper/include')
-rw-r--r--thirdparty/lws/mbedtls_wrapper/include/internal/ssl_types.h1
-rw-r--r--thirdparty/lws/mbedtls_wrapper/include/platform/ssl_port.h4
2 files changed, 4 insertions, 1 deletions
diff --git a/thirdparty/lws/mbedtls_wrapper/include/internal/ssl_types.h b/thirdparty/lws/mbedtls_wrapper/include/internal/ssl_types.h
index 45198bc97..2ca438c42 100644
--- a/thirdparty/lws/mbedtls_wrapper/include/internal/ssl_types.h
+++ b/thirdparty/lws/mbedtls_wrapper/include/internal/ssl_types.h
@@ -215,6 +215,7 @@ struct ssl_st
int (*verify_callback) (int ok, X509_STORE_CTX *ctx);
int rwstate;
+ int interrupted_remaining_write;
long verify_result;
diff --git a/thirdparty/lws/mbedtls_wrapper/include/platform/ssl_port.h b/thirdparty/lws/mbedtls_wrapper/include/platform/ssl_port.h
index 2ffd7e754..eca68f20d 100644
--- a/thirdparty/lws/mbedtls_wrapper/include/platform/ssl_port.h
+++ b/thirdparty/lws/mbedtls_wrapper/include/platform/ssl_port.h
@@ -25,11 +25,13 @@
*/
#include "string.h"
-#if defined(__APPLE__) || defined(__FreeBSD__)
+/* GODOT ADDITION */
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__)
#include <stdlib.h>
#else
#include "malloc.h"
#endif
+/* END GODOT ADDITION */
void *ssl_mem_zalloc(size_t size);