Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
12 months ago. This question has been closed. Reason: Off Topic
mbedTLS - session resumption - what is the correct way to remove session IDs from the cache?
When dealing with the session cache, I see that there are 6 functions defined in ssl_cache.h: mbedtls_ssl_cache_init mbedtls_ssl_cache_get mbedtls_ssl_cache_set mbedtls_ssl_cache_set_timeout mbedtls_ssl_cache_set_max_entries mbedtls_ssl_cache_free
What I want to know is, how can I delete a specific session from the cache? There is no "remove" function defined. I don't necessarily want to remove all items from the cache, just one. Any advice on how to do that?