Lines Matching refs:entry
60 mbedtls_ssl_cache_entry *cur, *entry; in mbedtls_ssl_cache_get() local
68 entry = NULL; in mbedtls_ssl_cache_get()
72 entry = cur; in mbedtls_ssl_cache_get()
77 (int) ( t - entry->timestamp ) > cache->timeout ) in mbedtls_ssl_cache_get()
81 if( session->id_len != entry->session.id_len || in mbedtls_ssl_cache_get()
82 memcmp( session->id, entry->session.id, in mbedtls_ssl_cache_get()
83 entry->session.id_len ) != 0 ) in mbedtls_ssl_cache_get()
88 ret = mbedtls_ssl_session_copy( session, &entry->session ); in mbedtls_ssl_cache_get()
100 if( entry->peer_cert.p != NULL ) in mbedtls_ssl_cache_get()
114 if( mbedtls_x509_crt_parse( session->peer_cert, entry->peer_cert.p, in mbedtls_ssl_cache_get()
115 entry->peer_cert.len ) != 0 ) in mbedtls_ssl_cache_get()