mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Fix bug with ssl_cache and max_entries=0
This commit is contained in:
parent
780d671f9d
commit
274a12e17c
3 changed files with 13 additions and 2 deletions
|
|
@ -106,7 +106,7 @@ int ssl_cache_set( void *data, const ssl_session *session );
|
|||
* A timeout of 0 indicates no timeout.
|
||||
*
|
||||
* \param cache SSL cache context
|
||||
* \param timeout cache entry timeout
|
||||
* \param timeout cache entry timeout in seconds
|
||||
*/
|
||||
void ssl_cache_set_timeout( ssl_cache_context *cache, int timeout );
|
||||
#endif /* POLARSSL_HAVE_TIME */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue