Searched refs:tlsext_hostname (Results 1 – 7 of 7) sorted by relevance
362 OPENSSL_free(ssl->tlsext_hostname); in SSL_set_tlsext_host_name()363 ssl->tlsext_hostname = NULL; in SSL_set_tlsext_host_name()372 ssl->tlsext_hostname = BUF_strdup(name); in SSL_set_tlsext_host_name()373 if (ssl->tlsext_hostname == NULL) { in SSL_set_tlsext_host_name()
198 OPENSSL_free(session->tlsext_hostname); in SSL_SESSION_free()331 if (ssl->tlsext_hostname != NULL) { in ssl_get_new_session()332 session->tlsext_hostname = BUF_strdup(ssl->tlsext_hostname); in ssl_get_new_session()333 if (session->tlsext_hostname == NULL) { in ssl_get_new_session()
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()[all …]
254 if (in->tlsext_hostname) { in SSL_SESSION_to_bytes_full()257 !CBB_add_bytes(&child2, (const uint8_t *)in->tlsext_hostname, in SSL_SESSION_to_bytes_full()258 strlen(in->tlsext_hostname))) { in SSL_SESSION_to_bytes_full()588 !SSL_SESSION_parse_string(&session, &ret->tlsext_hostname, in SSL_SESSION_parse()
493 OPENSSL_free(ssl->tlsext_hostname); in SSL_free()1450 if (ssl->tlsext_hostname != NULL) { in SSL_get_servername()1451 return ssl->tlsext_hostname; in SSL_get_servername()1457 return ssl->session->tlsext_hostname; in SSL_get_servername()1461 if (ssl->session != NULL && ssl->session->tlsext_hostname != NULL) { in SSL_get_servername_type()
3391 char *tlsext_hostname; member3831 char *tlsext_hostname; member
10648 if (ssl_session == nullptr || ssl_session->tlsext_hostname == nullptr) {10654 ssl_session, ssl_session->tlsext_hostname);10655 return env->NewStringUTF(ssl_session->tlsext_hostname);