X-Git-Url: https://www.bearssl.org/gitweb//home/git/?p=BearSSL;a=blobdiff_plain;f=inc%2Fbearssl_ssl.h;h=45ac5994e9dd36cf54b5f141a83540df368825aa;hp=d15cf55192c04d8ab1b98a5dfff2adabc7ea3a16;hb=0cc2e23690c83b6ea015eea3e78cb4236b685509;hpb=4aac1cd5c65462d5ad13e377705a00eab8c80d81 diff --git a/inc/bearssl_ssl.h b/inc/bearssl_ssl.h index d15cf55..45ac599 100644 --- a/inc/bearssl_ssl.h +++ b/inc/bearssl_ssl.h @@ -3220,6 +3220,19 @@ typedef struct { void br_ssl_session_cache_lru_init(br_ssl_session_cache_lru *cc, unsigned char *store, size_t store_len); +/** + * \brief Forget an entry in an LRU session cache. + * + * The session cache context must have been initialised. The entry + * with the provided session ID (of exactly 32 bytes) is looked for + * in the cache; if located, it is disabled. + * + * \param cc session cache context. + * \param id session ID to forget. + */ +void br_ssl_session_cache_lru_forget( + br_ssl_session_cache_lru *cc, const unsigned char *id); + /** * \brief Context structure for a SSL server. *