Merge contexts for session cache
diff --git a/library/ssl_srv.c b/library/ssl_srv.c
index c537fe4..fd2ee93 100644
--- a/library/ssl_srv.c
+++ b/library/ssl_srv.c
@@ -2475,7 +2475,7 @@
#endif
ssl->session_negotiate->length != 0 &&
ssl->conf->f_get_cache != NULL &&
- ssl->conf->f_get_cache( ssl->conf->p_get_cache, ssl->session_negotiate ) == 0 )
+ ssl->conf->f_get_cache( ssl->conf->p_cache, ssl->session_negotiate ) == 0 )
{
MBEDTLS_SSL_DEBUG_MSG( 3, ( "session successfully restored from cache" ) );
ssl->handshake->resume = 1;