mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-20 19:21:09 +01: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>