--- include/mbedtls/config.h.orig 2018-02-05 12:36:59.000000000 +0100
+++ include/mbedtls/config.h 2018-02-06 14:37:48.911218309 +0100
@@ -1431,7 +1431,7 @@
*
* Uncomment this to enable pthread mutexes.
*/
-//#define MBEDTLS_THREADING_PTHREAD
+#define MBEDTLS_THREADING_PTHREAD
/**
* \def MBEDTLS_VERSION_FEATURES
@@ -2508,7 +2508,7 @@
*
* Enable this layer to allow use of mutexes within mbed TLS
*/
-//#define MBEDTLS_THREADING_C
+#define MBEDTLS_THREADING_C
/**
* \def MBEDTLS_TIMING_C