Lines Matching refs:servername
60 ssl_servername_t servername; member
104 const char *servername = SSL_get_servername(s, TLSEXT_NAMETYPE_host_name); in select_server_ctx() local
108 if (servername == NULL) { in select_server_ctx()
109 ex_data->servername = SSL_TEST_SERVERNAME_SERVER1; in select_server_ctx()
113 if (strcmp(servername, "server2") == 0) { in select_server_ctx()
124 ex_data->servername = SSL_TEST_SERVERNAME_SERVER2; in select_server_ctx()
126 } else if (strcmp(servername, "server1") == 0) { in select_server_ctx()
127 ex_data->servername = SSL_TEST_SERVERNAME_SERVER1; in select_server_ctx()
130 ex_data->servername = SSL_TEST_SERVERNAME_SERVER1; in select_server_ctx()
140 const char *servername; in client_hello_select_server_ctx() local
175 servername = (const char *)p; in client_hello_select_server_ctx()
177 if (len == strlen("server2") && HAS_PREFIX(servername, "server2")) { in client_hello_select_server_ctx()
188 ex_data->servername = SSL_TEST_SERVERNAME_SERVER2; in client_hello_select_server_ctx()
191 HAS_PREFIX(servername, "server1")) { in client_hello_select_server_ctx()
192 ex_data->servername = SSL_TEST_SERVERNAME_SERVER1; in client_hello_select_server_ctx()
195 ex_data->servername = SSL_TEST_SERVERNAME_SERVER1; in client_hello_select_server_ctx()
721 if (extra->client.servername != SSL_TEST_SERVERNAME_NONE) in configure_handshake_ssl()
723 ssl_servername_name(extra->client.servername)); in configure_handshake_ssl()
1649 ret->servername = server_ex_data.servername; in do_handshake_internal()