Lines Matching refs:hostname
157 dest->ext.hostname = NULL; in ssl_session_dup_intern()
225 if (src->ext.hostname) { in ssl_session_dup_intern()
226 dest->ext.hostname = OPENSSL_strdup(src->ext.hostname); in ssl_session_dup_intern()
227 if (dest->ext.hostname == NULL) in ssl_session_dup_intern()
859 OPENSSL_free(ss->ext.hostname); in SSL_SESSION_free()
1015 return s->ext.hostname; in SSL_SESSION_get0_hostname()
1018 int SSL_SESSION_set1_hostname(SSL_SESSION *s, const char *hostname) in SSL_SESSION_set1_hostname() argument
1020 OPENSSL_free(s->ext.hostname); in SSL_SESSION_set1_hostname()
1021 if (hostname == NULL) { in SSL_SESSION_set1_hostname()
1022 s->ext.hostname = NULL; in SSL_SESSION_set1_hostname()
1025 s->ext.hostname = OPENSSL_strdup(hostname); in SSL_SESSION_set1_hostname()
1027 return s->ext.hostname != NULL; in SSL_SESSION_set1_hostname()