Lines Matching refs:primary
185 data->set.ssl.primary.verifypeer = TRUE; in Curl_ssl_easy_config_init()
186 data->set.ssl.primary.verifyhost = TRUE; in Curl_ssl_easy_config_init()
187 data->set.ssl.primary.cache_session = TRUE; /* caching by default */ in Curl_ssl_easy_config_init()
232 return match_ssl_primary_config(data, &data->set.proxy_ssl.primary, in Curl_ssl_conn_config_match()
237 return match_ssl_primary_config(data, &data->set.ssl.primary, in Curl_ssl_conn_config_match()
294 data->set.ssl.primary.CApath = data->set.str[STRING_SSL_CAPATH]; in Curl_ssl_easy_config_complete()
295 data->set.ssl.primary.CAfile = data->set.str[STRING_SSL_CAFILE]; in Curl_ssl_easy_config_complete()
296 data->set.ssl.primary.CRLfile = data->set.str[STRING_SSL_CRLFILE]; in Curl_ssl_easy_config_complete()
297 data->set.ssl.primary.issuercert = data->set.str[STRING_SSL_ISSUERCERT]; in Curl_ssl_easy_config_complete()
298 data->set.ssl.primary.issuercert_blob = data->set.blobs[BLOB_SSL_ISSUERCERT]; in Curl_ssl_easy_config_complete()
299 data->set.ssl.primary.cipher_list = in Curl_ssl_easy_config_complete()
301 data->set.ssl.primary.cipher_list13 = in Curl_ssl_easy_config_complete()
303 data->set.ssl.primary.pinned_key = in Curl_ssl_easy_config_complete()
305 data->set.ssl.primary.cert_blob = data->set.blobs[BLOB_CERT]; in Curl_ssl_easy_config_complete()
306 data->set.ssl.primary.ca_info_blob = data->set.blobs[BLOB_CAINFO]; in Curl_ssl_easy_config_complete()
307 data->set.ssl.primary.curves = data->set.str[STRING_SSL_EC_CURVES]; in Curl_ssl_easy_config_complete()
309 data->set.ssl.primary.username = data->set.str[STRING_TLSAUTH_USERNAME]; in Curl_ssl_easy_config_complete()
310 data->set.ssl.primary.password = data->set.str[STRING_TLSAUTH_PASSWORD]; in Curl_ssl_easy_config_complete()
316 data->set.ssl.primary.clientcert = data->set.str[STRING_CERT]; in Curl_ssl_easy_config_complete()
320 data->set.proxy_ssl.primary.CApath = data->set.str[STRING_SSL_CAPATH_PROXY]; in Curl_ssl_easy_config_complete()
321 data->set.proxy_ssl.primary.CAfile = data->set.str[STRING_SSL_CAFILE_PROXY]; in Curl_ssl_easy_config_complete()
322 data->set.proxy_ssl.primary.cipher_list = in Curl_ssl_easy_config_complete()
324 data->set.proxy_ssl.primary.cipher_list13 = in Curl_ssl_easy_config_complete()
326 data->set.proxy_ssl.primary.pinned_key = in Curl_ssl_easy_config_complete()
328 data->set.proxy_ssl.primary.cert_blob = data->set.blobs[BLOB_CERT_PROXY]; in Curl_ssl_easy_config_complete()
329 data->set.proxy_ssl.primary.ca_info_blob = in Curl_ssl_easy_config_complete()
331 data->set.proxy_ssl.primary.issuercert = in Curl_ssl_easy_config_complete()
333 data->set.proxy_ssl.primary.issuercert_blob = in Curl_ssl_easy_config_complete()
335 data->set.proxy_ssl.primary.CRLfile = in Curl_ssl_easy_config_complete()
341 data->set.proxy_ssl.primary.clientcert = data->set.str[STRING_CERT_PROXY]; in Curl_ssl_easy_config_complete()
344 data->set.proxy_ssl.primary.username = in Curl_ssl_easy_config_complete()
346 data->set.proxy_ssl.primary.password = in Curl_ssl_easy_config_complete()
360 if(!clone_ssl_primary_config(&data->set.ssl.primary, &conn->ssl_config)) in Curl_ssl_conn_config_init()
363 if(!clone_ssl_primary_config(&data->set.proxy_ssl.primary, in Curl_ssl_conn_config_init()
384 src = for_proxy ? &data->set.proxy_ssl.primary : &data->set.ssl.primary; in Curl_ssl_conn_config_update()
388 src = &data->set.ssl.primary; in Curl_ssl_conn_config_update()
435 const unsigned char sslver = data->set.ssl.primary.version; in ssl_prefs_check()
441 switch(data->set.ssl.primary.version_max) { in ssl_prefs_check()
447 if((data->set.ssl.primary.version_max >> 16) < sslver) { in ssl_prefs_check()
559 DEBUGASSERT(ssl_config->primary.cache_session); in Curl_ssl_getsessionid()
561 if(!ssl_config->primary.cache_session || !data->state.session) in Curl_ssl_getsessionid()
690 DEBUGASSERT(ssl_config->primary.cache_session); in Curl_ssl_set_sessionid()