Lines Matching refs:hostname
182 dest->ext.hostname = NULL; in ssl_session_dup()
237 if (src->ext.hostname) { in ssl_session_dup()
238 dest->ext.hostname = OPENSSL_strdup(src->ext.hostname); in ssl_session_dup()
239 if (dest->ext.hostname == NULL) { in ssl_session_dup()
832 OPENSSL_free(ss->ext.hostname); in SSL_SESSION_free()
968 return s->ext.hostname; in SSL_SESSION_get0_hostname()
971 int SSL_SESSION_set1_hostname(SSL_SESSION *s, const char *hostname) in SSL_SESSION_set1_hostname() argument
973 OPENSSL_free(s->ext.hostname); in SSL_SESSION_set1_hostname()
974 if (hostname == NULL) { in SSL_SESSION_set1_hostname()
975 s->ext.hostname = NULL; in SSL_SESSION_set1_hostname()
978 s->ext.hostname = OPENSSL_strdup(hostname); in SSL_SESSION_set1_hostname()
980 return s->ext.hostname != NULL; in SSL_SESSION_set1_hostname()