mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-05-30 04:04:51 +03:00
mbedtls_ssl_cache_get() and mbedtls_ssl_cache_set() returned 1 on many error conditions. Change this to returning a negative MBEDTLS_ERR_xxx error code. Completeness: after this commit, there are no longer any occurrences of `return 1` or `ret = 1`. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>