SHA256
1
0
forked from pool/mbedtls
mbedtls/mbedtls-enable-pthread.patch
Martin Pluskal 35bae25b21 Accepting request 1089650 from home:adkorte:branches:server:http
- Remove obsolete CMake options as these are not used in 3.0+
  (USE_PKCS11_HELPER_LIBRARY, ENABLE_ZLIB_SUPPORT)
- Enable MBEDTLS_THREADING_C and MBEDTLS_THREADING_PTHREAD (boo#1211810)
  + mbedtls-enable-pthread.patch
- Parallel execution of ctest works just fine (no need to limit to
  one job)

OBS-URL: https://build.opensuse.org/request/show/1089650
OBS-URL: https://build.opensuse.org/package/show/security:tls/mbedtls?expand=0&rev=42
2023-05-31 09:12:52 +00:00

22 lines
605 B
Diff

diff -purN a/include/mbedtls/mbedtls_config.h b/include/mbedtls/mbedtls_config.h
--- a/include/mbedtls/mbedtls_config.h 2023-03-27 19:05:28.000000000 +0200
+++ b/include/mbedtls/mbedtls_config.h 2023-05-29 19:15:39.917530360 +0200
@@ -1917,7 +1917,7 @@
*
* Uncomment this to enable pthread mutexes.
*/
-//#define MBEDTLS_THREADING_PTHREAD
+#define MBEDTLS_THREADING_PTHREAD
/**
* \def MBEDTLS_USE_PSA_CRYPTO
@@ -3312,7 +3312,7 @@
*
* Enable this layer to allow use of mutexes within mbed TLS
*/
-//#define MBEDTLS_THREADING_C
+#define MBEDTLS_THREADING_C
/**
* \def MBEDTLS_TIMING_C