Lines Matching refs:hostname
125 send_ocsp_request(int sock, char *reqfile, char *hostname) in send_ocsp_request() argument
150 if (hostname != NULL) { in send_ocsp_request()
151 (void) snprintf(req_header, 256, req_format, hostname, in send_ocsp_request()
480 char *reqfile, char *hostname, in kmf_get_encoded_ocsp_response() argument
493 if (hostname == NULL || reqfile == NULL || respfile == NULL) { in kmf_get_encoded_ocsp_response()
505 sock = connect_to_server(hostname, final_port); in kmf_get_encoded_ocsp_response()
515 "http://%s:%d", hostname, final_port); in kmf_get_encoded_ocsp_response()
544 send_download_request(int sock, char *hostname, int port, boolean_t is_proxy, in send_download_request() argument
557 hostname, port, loc); in send_download_request()
563 hostname, port); in send_download_request()
581 char *hostname = NULL; in download_file() local
602 hostname = uriptr->server; in download_file()
603 if (hostname == NULL) { in download_file()
629 sock = connect_to_server(hostname, port); in download_file()
637 ret = send_download_request(sock, hostname, port, is_proxy, path); in download_file()
816 char *hostname = NULL, *host_uri = NULL, *proxyname = NULL; in kmf_get_ocsp_for_cert() local
921 hostname = uriptr->server; in kmf_get_ocsp_for_cert()
922 if (hostname == NULL) { in kmf_get_ocsp_for_cert()
949 hostname, host_port, proxyname, proxy_port, in kmf_get_ocsp_for_cert()