From 52c7130a2f870afff1242c476aa6db11941abdb9 Mon Sep 17 00:00:00 2001 From: Laurent Cheylus Date: Sun, 25 May 2025 12:19:22 +0200 Subject: [PATCH] net.mbedtls: enable MBEDTLS_THREADING_C and MBEDTLS_THREADING_PTHREAD on OpenBSD (#24572) --- thirdparty/mbedtls/include/mbedtls/mbedtls_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thirdparty/mbedtls/include/mbedtls/mbedtls_config.h b/thirdparty/mbedtls/include/mbedtls/mbedtls_config.h index bba5184a08..72f6608b55 100644 --- a/thirdparty/mbedtls/include/mbedtls/mbedtls_config.h +++ b/thirdparty/mbedtls/include/mbedtls/mbedtls_config.h @@ -1903,7 +1903,7 @@ * * Uncomment this to enable pthread mutexes. */ -#if ( defined(__linux__) || defined(__FreeBSD__) ) +#if ( defined(__linux__) || defined(__FreeBSD__) ) || defined (__OpenBSD__) #define MBEDTLS_THREADING_PTHREAD #endif @@ -3285,7 +3285,7 @@ * * Enable this layer to allow use of mutexes within mbed TLS */ -#if ( defined(__linux__) || defined(__FreeBSD__) ) +#if ( defined(__linux__) || defined(__FreeBSD__) ) || defined (__OpenBSD__) #define MBEDTLS_THREADING_C #endif