You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Bump mbedtls to version 2.16.10.
(cherry picked from commit 18bc1f2a8f)
This commit is contained in:
committed by
Rémi Verschelde
parent
f2739b3f52
commit
2f1a8ae751
6
thirdparty/mbedtls/library/threading.c
vendored
6
thirdparty/mbedtls/library/threading.c
vendored
@@ -98,6 +98,12 @@ static void threading_mutex_init_pthread( mbedtls_threading_mutex_t *mutex )
|
||||
if( mutex == NULL )
|
||||
return;
|
||||
|
||||
/* A nonzero value of is_valid indicates a successfully initialized
|
||||
* mutex. This is a workaround for not being able to return an error
|
||||
* code for this function. The lock/unlock functions return an error
|
||||
* if is_valid is nonzero. The Mbed TLS unit test code uses this field
|
||||
* to distinguish more states of the mutex; see helpers.function for
|
||||
* details. */
|
||||
mutex->is_valid = pthread_mutex_init( &mutex->mutex, NULL ) == 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user