Lines Matching defs:host
75 static int is_dNS_name(const char *host);
474 {OPT_HELP_STR, 1, '-', "Usage: %s [options] [host:port]\n"},
491 {"host", OPT_HOST, 's', "Use -connect instead"},
693 {"host:port", 0, 0, "Where to connect; same as -connect option"},
805 char *chCApath = NULL, *chCAfile = NULL, *chCAstore = NULL, *host = NULL;
973 freeandcopy(&host, opt_arg());
999 freeandcopy(&host, opt_arg());
1513 char *tmp_host = host, *tmp_port = port;
1515 res = BIO_parse_hostserv(connectstr, &host, &port, BIO_PARSE_PRIO_HOST);
1516 if (tmp_host != host)
1530 char *tmp_host = host, *tmp_port = port;
1532 if (host == NULL || port == NULL) {
1538 servername = sname_alloc = OPENSSL_strdup(host);
1545 /* Retain the original target host:port for use in the HTTP proxy connect string */
1546 thost = OPENSSL_strdup(host);
1553 res = BIO_parse_hostserv(proxystr, &host, &port, BIO_PARSE_PRIO_HOST);
1554 if (tmp_host != host)
1981 if(host == NULL || is_dNS_name(host))
1982 servername = (host == NULL) ? "localhost" : host;
2017 if (init_client(&sock, host, port, bindhost, bindport, socket_family,
2159 /* Here we must use the connect string target host & port */
2290 protohost ? protohost : host);
3109 OPENSSL_free(host);
3478 static int is_dNS_name(const char *host)
3483 size_t length = strlen(host);
3495 char c = host[i];
3522 && host[i + 1] != '.'
3523 && host[i - 1] != '-'
3524 && host[i + 1] != '-') {