mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-08-24 20:19:52 +00:00
ssl_cache: return the error code for mutex failure
Signed-off-by: Pengyu Lv <[email protected]>
This commit is contained in:
@@ -134,7 +134,7 @@ int mbedtls_ssl_cache_set(void *data,
|
||||
*
|
||||
* \return 0: The cache entry for session with provided ID
|
||||
* is removed or does not exist.
|
||||
* 1: Internal error.
|
||||
* Otherwise: fail.
|
||||
*/
|
||||
int mbedtls_ssl_cache_remove(void *data,
|
||||
unsigned char const *session_id,
|
||||
|
||||
Reference in New Issue
Block a user