Lines Matching refs:host
75 static int is_dNS_name(const char *host);
810 char *chCApath = NULL, *chCAfile = NULL, *chCAstore = NULL, *host = NULL; in s_client_main() local
979 freeandcopy(&host, opt_arg()); in s_client_main()
1006 freeandcopy(&host, opt_arg()); in s_client_main()
1521 char *tmp_host = host, *tmp_port = port; in s_client_main()
1523 res = BIO_parse_hostserv(connectstr, &host, &port, BIO_PARSE_PRIO_HOST); in s_client_main()
1524 if (tmp_host != host) in s_client_main()
1538 char *tmp_host = host, *tmp_port = port; in s_client_main()
1540 if (host == NULL || port == NULL) { in s_client_main()
1546 thost = OPENSSL_strdup(host); in s_client_main()
1553 res = BIO_parse_hostserv(proxystr, &host, &port, BIO_PARSE_PRIO_HOST); in s_client_main()
1554 if (tmp_host != host) in s_client_main()
1974 if (host == NULL || is_dNS_name(host)) in s_client_main()
1975 servername = (host == NULL) ? "localhost" : host; in s_client_main()
2010 if (init_client(&sock, host, port, bindhost, bindport, socket_family, in s_client_main()
2250 protohost ? protohost : host); in s_client_main()
3061 OPENSSL_free(host); in s_client_main()
3431 static int is_dNS_name(const char *host) in is_dNS_name() argument
3436 size_t length = strlen(host); in is_dNS_name()
3448 char c = host[i]; in is_dNS_name()
3475 && host[i + 1] != '.' in is_dNS_name()
3476 && host[i - 1] != '-' in is_dNS_name()
3477 && host[i + 1] != '-') { in is_dNS_name()