Searched refs:hostname (Results 1 – 5 of 5) sorted by relevance
32 const char *hostname = mbedtls_ssl_get_hostname_pointer(ssl); in ssl_write_hostname_ext() local37 if (hostname == NULL) { in ssl_write_hostname_ext()43 hostname)); in ssl_write_hostname_ext()45 hostname_len = strlen(hostname); in ssl_write_hostname_ext()89 memcpy(p, hostname, hostname_len); in ssl_write_hostname_ext()889 session_negotiate->hostname != NULL; in ssl_prepare_client_hello()890 if (context_hostname != NULL && session_negotiate->hostname != NULL) { in ssl_prepare_client_hello()892 context_hostname, session_negotiate->hostname) != 0; in ssl_prepare_client_hello()
238 dst->hostname = NULL; in mbedtls_ssl_session_copy()308 ret = mbedtls_ssl_session_set_hostname(dst, src->hostname); in mbedtls_ssl_session_copy()2792 return ssl->hostname != NULL; in mbedtls_ssl_has_set_hostname_been_called()2803 if (ssl->hostname == ssl_hostname_skip_cn_verification) { in mbedtls_ssl_get_hostname_pointer()2806 return ssl->hostname; in mbedtls_ssl_get_hostname_pointer()2811 if (ssl->hostname != NULL && in mbedtls_ssl_free_hostname()2812 ssl->hostname != ssl_hostname_skip_cn_verification) { in mbedtls_ssl_free_hostname()2813 mbedtls_zeroize_and_free(ssl->hostname, strlen(ssl->hostname)); in mbedtls_ssl_free_hostname()2815 ssl->hostname = NULL; in mbedtls_ssl_free_hostname()2818 int mbedtls_ssl_set_hostname(mbedtls_ssl_context *ssl, const char *hostname) in mbedtls_ssl_set_hostname() argument[all …]
2943 const char *hostname);
1354 char *MBEDTLS_PRIVATE(hostname); /*!< host name binded with tickets */1974 char *MBEDTLS_PRIVATE(hostname);4097 int mbedtls_ssl_set_hostname(mbedtls_ssl_context *ssl, const char *hostname);4111 return ssl->MBEDTLS_PRIVATE(hostname); in mbedtls_ssl_get_hostname()
122 call mbedtls_ssl_set_hostname() with NULL as the hostname, or744 * X.509 hostname verification now supports IPAddress Subject Alternate Names.760 * X.509 hostname verification now partially supports URI Subject Alternate797 `mbedtls_ssl_context.hostname`.4630 overflow of the hostname or session ticket. Found by Guido Vranken,4665 * Added checking of hostname length in mbedtls_ssl_set_hostname() to ensure5404 * Fixed X.509 hostname comparison (with non-regular characters)5643 * Fixed X.509 hostname comparison (with non-regular characters)5704 * Fixed potential heap buffer overflow on large hostname setting5914 * Potential heap buffer overflow on large hostname setting[all …]