Searched refs:cur_len (Results 1 – 2 of 2) sorted by relevance
516 size_t list_len, cur_len, ours_len; in ssl_parse_alpn_ext() local548 for( theirs = start; theirs != end; theirs += cur_len ) in ssl_parse_alpn_ext()554 cur_len = *theirs++; in ssl_parse_alpn_ext()557 if( cur_len == 0 ) in ssl_parse_alpn_ext()560 if( cur_len == ours_len && in ssl_parse_alpn_ext()561 memcmp( theirs, *ours, cur_len ) == 0 ) in ssl_parse_alpn_ext()
6005 size_t cur_len, tot_len; in mbedtls_ssl_conf_alpn_protocols() local6015 cur_len = strlen( *p ); in mbedtls_ssl_conf_alpn_protocols()6016 tot_len += cur_len; in mbedtls_ssl_conf_alpn_protocols()6018 if( cur_len == 0 || cur_len > 255 || tot_len > 65535 ) in mbedtls_ssl_conf_alpn_protocols()