Lines Matching refs:tlsext_hostname
685 if (ssl->tlsext_hostname == NULL) { in ext_sni_add_clienthello()
695 !CBB_add_bytes(&name, (const uint8_t *)ssl->tlsext_hostname, in ext_sni_add_clienthello()
696 strlen(ssl->tlsext_hostname)) || in ext_sni_add_clienthello()
714 assert(ssl->tlsext_hostname != NULL); in ext_sni_parse_serverhello()
717 assert(ssl->session->tlsext_hostname == NULL); in ext_sni_parse_serverhello()
718 ssl->session->tlsext_hostname = BUF_strdup(ssl->tlsext_hostname); in ext_sni_parse_serverhello()
719 if (!ssl->session->tlsext_hostname) { in ext_sni_parse_serverhello()
796 assert(ssl->session->tlsext_hostname == NULL); in ext_sni_parse_clienthello()
797 if (ssl->session->tlsext_hostname) { in ext_sni_parse_clienthello()
803 if (!CBS_strdup(&host_name, &ssl->session->tlsext_hostname)) { in ext_sni_parse_clienthello()
818 ssl->session->tlsext_hostname == NULL) { in ext_sni_add_serverhello()