Fix bug with ssl_cache and max_entries=0

This commit is contained in:
Manuel Pégourié-Gonnard 2014-02-20 21:32:08 +01:00
parent 780d671f9d
commit 274a12e17c
3 changed files with 13 additions and 2 deletions

View file

@ -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 */