Home
last modified time | relevance | path

Searched refs:nlist (Results 1 – 2 of 2) sorted by relevance

/hostap-3.7.0/src/crypto/
Dtls_mbedtls_alt.c2666 int nlist = 0; in tls_mbedtls_match_altsubject() local
2678 list[nlist].p = s; in tls_mbedtls_match_altsubject()
2679 list[nlist].n = tok ? (size_t)(tok - s) : os_strlen(s); in tls_mbedtls_match_altsubject()
2680 if (list[nlist].n && ++nlist == sizeof(list) / sizeof(*list)) in tls_mbedtls_match_altsubject()
2712 for (int i = 0; i < nlist; ++i) in tls_mbedtls_match_altsubject()
2727 static int tls_mbedtls_match_suffix(const char *v, size_t vlen, const struct mlist *list, int nlist in tls_mbedtls_match_suffix() argument
2731 for (int i = 0; i < nlist; ++i) in tls_mbedtls_match_suffix()
2745 int nlist = 0; in tls_mbedtls_match_suffixes() local
2749 list[nlist].p = s; in tls_mbedtls_match_suffixes()
2750 list[nlist].n = tok ? (size_t)(tok - s) : os_strlen(s); in tls_mbedtls_match_suffixes()
[all …]
/hostap-3.7.0/wpa_supplicant/
Dconfig.c2679 struct wpa_ssid *prev, **nlist; in wpa_config_add_prio_network() local
2696 nlist = os_realloc_array(config->pssid, config->num_prio + 1, in wpa_config_add_prio_network()
2698 if (nlist == NULL) in wpa_config_add_prio_network()
2702 if (nlist[prio]->priority < ssid->priority) { in wpa_config_add_prio_network()
2703 os_memmove(&nlist[prio + 1], &nlist[prio], in wpa_config_add_prio_network()
2710 nlist[prio] = ssid; in wpa_config_add_prio_network()
2712 config->pssid = nlist; in wpa_config_add_prio_network()