mirror of https://github.com/wolfSSL/wolfssl.git
Use the correct mutex type for embOS
OS_MUTEX_Lock() is acutally a non-blocking mutex lock, for wc_LockMutex() we need a blocking mutex. Switch to this.pull/5316/head
parent
1077829f9d
commit
f8c67345d6
|
@ -2270,7 +2270,7 @@ int wolfSSL_CryptHwMutexUnLock(void)
|
|||
|
||||
int wc_LockMutex(wolfSSL_Mutex* m)
|
||||
{
|
||||
OS_MUTEX_Lock((OS_MUTEX*) m);
|
||||
OS_MUTEX_LockBlocked((OS_MUTEX*) m);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue