SHA256
1
0
forked from pool/mbedtls
mbedtls/mbedtls-enable-pthread.patch

23 lines
603 B
Diff

Index: mbedtls-3.5.0/include/mbedtls/mbedtls_config.h
===================================================================
--- mbedtls-3.5.0.orig/include/mbedtls/mbedtls_config.h
+++ mbedtls-3.5.0/include/mbedtls/mbedtls_config.h
@@ -2085,7 +2085,7 @@
*
* Uncomment this to enable pthread mutexes.
*/
-//#define MBEDTLS_THREADING_PTHREAD
+#define MBEDTLS_THREADING_PTHREAD
/**
* \def MBEDTLS_USE_PSA_CRYPTO
@@ -3522,7 +3522,7 @@
*
* Enable this layer to allow use of mutexes within Mbed TLS
*/
-//#define MBEDTLS_THREADING_C
+#define MBEDTLS_THREADING_C
/**
* \def MBEDTLS_TIMING_C