Added function to forget saved session parameters (for tests).
This commit is contained in:
parent
127fb4a31d
commit
5414fd525e
2 changed files with 61 additions and 2 deletions
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue