Lines Matching refs:entry
65 mbedtls_ssl_cache_entry *cur, *entry; in mbedtls_ssl_cache_get() local
73 entry = NULL; in mbedtls_ssl_cache_get()
77 entry = cur; in mbedtls_ssl_cache_get()
82 (int) ( t - entry->timestamp ) > cache->timeout ) in mbedtls_ssl_cache_get()
86 if( session->ciphersuite != entry->session.ciphersuite || in mbedtls_ssl_cache_get()
87 session->compression != entry->session.compression || in mbedtls_ssl_cache_get()
88 session->id_len != entry->session.id_len ) in mbedtls_ssl_cache_get()
91 if( memcmp( session->id, entry->session.id, in mbedtls_ssl_cache_get()
92 entry->session.id_len ) != 0 ) in mbedtls_ssl_cache_get()
95 memcpy( session->master, entry->session.master, 48 ); in mbedtls_ssl_cache_get()
97 session->verify_result = entry->session.verify_result; in mbedtls_ssl_cache_get()
103 if( entry->peer_cert.p != NULL ) in mbedtls_ssl_cache_get()
113 if( mbedtls_x509_crt_parse( session->peer_cert, entry->peer_cert.p, in mbedtls_ssl_cache_get()
114 entry->peer_cert.len ) != 0 ) in mbedtls_ssl_cache_get()