Home
last modified time | relevance | path

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

/third_party/libcoap/src/
Dcoap_mbedtls.c126 pki_sni_entry *pki_sni_entry_list; member
756 if (strcasecmp(name, m_context->pki_sni_entry_list[i].sni) == 0) { in pki_sni_callback()
765 pki_sni_entry *pki_sni_entry_list; in pki_sni_callback() local
775 pki_sni_entry_list = mbedtls_realloc(m_context->pki_sni_entry_list, in pki_sni_callback()
778 if (pki_sni_entry_list == NULL) { in pki_sni_callback()
782 m_context->pki_sni_entry_list = pki_sni_entry_list; in pki_sni_callback()
783 memset(&m_context->pki_sni_entry_list[i], 0, in pki_sni_callback()
784 sizeof(m_context->pki_sni_entry_list[i])); in pki_sni_callback()
785 m_context->pki_sni_entry_list[i].sni = name; in pki_sni_callback()
786 m_context->pki_sni_entry_list[i].pki_key = *new_entry; in pki_sni_callback()
[all …]
Dcoap_gnutls.c121 pki_sni_entry *pki_sni_entry_list; member
479 gnutls_free(g_context->pki_sni_entry_list[i].sni); in coap_dtls_free_context()
481 g_context->pki_sni_entry_list[i].pki_credentials); in coap_dtls_free_context()
483 if (g_context->pki_sni_entry_list) in coap_dtls_free_context()
484 gnutls_free(g_context->pki_sni_entry_list); in coap_dtls_free_context()
1635 if (strcasecmp(name, g_context->pki_sni_entry_list[i].sni) == 0) { in post_client_hello_gnutls_pki()
1654 g_context->pki_sni_entry_list = gnutls_realloc( in post_client_hello_gnutls_pki()
1655 g_context->pki_sni_entry_list, in post_client_hello_gnutls_pki()
1657 g_context->pki_sni_entry_list[i].sni = gnutls_strdup(name); in post_client_hello_gnutls_pki()
1658 g_context->pki_sni_entry_list[i].pki_key = *new_entry; in post_client_hello_gnutls_pki()
[all …]