Lines Matching refs:curl
580 CURL *curl = curl_easy_init(); in get_key_material_https() local
581 if (curl == NULL) { in get_key_material_https()
629 (void) curl_easy_setopt(curl, CURLOPT_URL, uri); in get_key_material_https()
630 (void) curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); in get_key_material_https()
631 (void) curl_easy_setopt(curl, CURLOPT_TIMEOUT_MS, 30000L); in get_key_material_https()
632 (void) curl_easy_setopt(curl, CURLOPT_WRITEDATA, key); in get_key_material_https()
633 (void) curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, errbuf); in get_key_material_https()
635 (void) curl_easy_setopt(curl, CURLOPT_CAINFO, cainfo); in get_key_material_https()
637 (void) curl_easy_setopt(curl, CURLOPT_CAPATH, capath); in get_key_material_https()
639 (void) curl_easy_setopt(curl, CURLOPT_SSLCERT, clcert); in get_key_material_https()
641 (void) curl_easy_setopt(curl, CURLOPT_SSLKEY, clkey); in get_key_material_https()
643 CURLcode res = curl_easy_perform(curl); in get_key_material_https()
652 (void) curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &resp); in get_key_material_https()
663 curl_easy_cleanup(curl); in get_key_material_https()