mbed TLS upgraded to 2.6.0
Fork of mbedtls by
Diff: library/ssl_cache.c
- Revision:
- 2:bbdeda018a3c
- Parent:
- 0:cdf462088d13
--- a/library/ssl_cache.c Fri Sep 29 18:41:59 2017 +0100 +++ b/library/ssl_cache.c Fri Sep 29 19:50:30 2017 +0100 @@ -138,7 +138,7 @@ { int ret = 1; #if defined(MBEDTLS_HAVE_TIME) - mbedtls_time_t t = time( NULL ), oldest = 0; + mbedtls_time_t t = mbedtls_time( NULL ), oldest = 0; mbedtls_ssl_cache_entry *old = NULL; #endif mbedtls_ssl_cache_context *cache = (mbedtls_ssl_cache_context *) data;