Searched refs:conn_config (Results 1 – 12 of 12) sorted by relevance
/curl/lib/vquic/ |
H A D | vquic-tls.c | 85 struct ssl_primary_config *conn_config; in wssl_init_ctx() local 88 conn_config = Curl_ssl_cf_get_primary_config(cf); in wssl_init_ctx() 89 if(!conn_config) { in wssl_init_ctx() 119 conn_config->curves : in wssl_init_ctx() 138 if(conn_config->verifypeer) { in wssl_init_ctx() 317 struct ssl_primary_config *conn_config; in Curl_vquic_tls_verify_peer() local 320 conn_config = Curl_ssl_cf_get_primary_config(cf); in Curl_vquic_tls_verify_peer() 321 if(!conn_config) in Curl_vquic_tls_verify_peer() 325 (void)conn_config; in Curl_vquic_tls_verify_peer() 328 if(conn_config->verifyhost) { in Curl_vquic_tls_verify_peer() [all …]
|
H A D | curl_msh3.c | 818 struct ssl_primary_config *conn_config; in cf_connect_start() local 824 conn_config = Curl_ssl_cf_get_primary_config(cf); in cf_connect_start() 825 if(!conn_config) in cf_connect_start() 827 verify = !!conn_config->verifypeer; in cf_connect_start() 832 if(verify && (conn_config->CAfile || conn_config->CApath)) { in cf_connect_start()
|
/curl/lib/vtls/ |
H A D | wolfssl.c | 571 if(conn_config->verifypeer) { in populate_x509_store() 699 if(conn_config->CAfile) { in set_cached_x509_store() 732 conn_config->verifypeer && in Curl_wssl_setup_x509_store() 733 !conn_config->CApath && in Curl_wssl_setup_x509_store() 734 !conn_config->ca_info_blob && in Curl_wssl_setup_x509_store() 881 switch(conn_config->version) { in wolfssl_connect_step1() 948 if(conn_config->cipher_list || conn_config->cipher_list13) { in wolfssl_connect_step1() 983 curves = conn_config->curves; in wolfssl_connect_step1() 1341 if(conn_config->verifyhost) { in wolfssl_connect_step2() 1410 if(conn_config->verifyhost) { in wolfssl_connect_step2() [all …]
|
H A D | mbedtls.c | 274 switch(conn_config->version) { in mbed_set_ssl_version_min_max() 299 conn_config->version); in mbed_set_ssl_version_min_max() 303 switch(conn_config->version_max) { in mbed_set_ssl_version_min_max() 540 if(!conn_config->verifypeer) in mbed_verify_cb() 542 else if(!conn_config->verifyhost) in mbed_verify_cb() 569 (ca_info_blob ? NULL : conn_config->CAfile); 570 const bool verifypeer = conn_config->verifypeer; 571 const char * const ssl_capath = conn_config->CApath; 582 if((conn_config->version == CURL_SSLVERSION_SSLv2) || 845 if(conn_config->cipher_list) { [all …]
|
H A D | sectransp.c | 736 switch(conn_config->version) { in sectransp_set_ssl_version_min_max() 754 switch(conn_config->version_max) { in sectransp_set_ssl_version_min_max() 788 switch(conn_config->version) { in sectransp_set_ssl_version_min_max() 1041 (ssl_cablob ? NULL : conn_config->CAfile); 1042 const bool verifypeer = conn_config->verifypeer; 1286 if(conn_config->verifyhost) { 1306 ciphers = conn_config->cipher_list; 1827 if((conn_config->CAfile || conn_config->ca_info_blob) && 1828 conn_config->verifypeer) { 2702 if((conn_config->CAfile || conn_config->ca_info_blob) && [all …]
|
H A D | openssl.c | 3410 if(conn_config->CAfile) { in set_cached_x509_store() 3443 conn_config->verifypeer && in Curl_ssl_setup_x509_store() 3444 !conn_config->CApath && in Curl_ssl_setup_x509_store() 3445 !conn_config->ca_info_blob && in Curl_ssl_setup_x509_store() 3538 if(conn_config->version_max && in Curl_ossl_ctx_init() 3753 if(!conn_config->cipher_list) { in Curl_ossl_ctx_init() 3823 if(conn_config->verifystatus) in Curl_ossl_ctx_init() 4534 bool strict = (conn_config->verifypeer || conn_config->verifyhost); 4588 if(conn_config->verifyhost) { 4613 if(conn_config->issuercert || conn_config->issuercert_blob) { [all …]
|
H A D | schannel.c | 184 long ssl_version = conn_config->version; in schannel_set_ssl_version_min_max() 478 if(conn_config->verifypeer) { in schannel_acquire_credential_handle() 514 if(!conn_config->verifyhost) { in schannel_acquire_credential_handle() 529 switch(conn_config->version) { in schannel_acquire_credential_handle() 775 if(!conn_config->cipher_list && in schannel_acquire_credential_handle() 814 char *ciphers = conn_config->cipher_list; in schannel_acquire_credential_handle() 932 if(conn_config->CAfile || conn_config->ca_info_blob) { in schannel_connect_step1() 946 if(conn_config->CAfile || conn_config->ca_info_blob) { in schannel_connect_step1() 1423 if(!conn_config->verifypeer && conn_config->verifyhost) in schannel_connect_step2() 2761 if(conn_config->CAfile) { in Curl_schannel_set_cached_cert_store() [all …]
|
H A D | rustls.c | 530 struct ssl_primary_config *conn_config = Curl_ssl_cf_get_primary_config(cf); in cr_init_backend() local 539 const struct curl_blob *ca_info_blob = conn_config->ca_info_blob; in cr_init_backend() 542 (ca_info_blob ? NULL : conn_config->CAfile); in cr_init_backend() 543 const bool verifypeer = conn_config->verifypeer; in cr_init_backend() 561 switch(conn_config->version) { in cr_init_backend() 577 switch(conn_config->version_max) { in cr_init_backend() 600 conn_config->cipher_list, in cr_init_backend() 601 conn_config->cipher_list13, in cr_init_backend() 708 if(conn_config->CRLfile) { in cr_init_backend() 711 if(!read_file_into(conn_config->CRLfile, &crl_contents)) { in cr_init_backend()
|
H A D | gtls.c | 378 long ssl_version = conn_config->version; in gnutls_set_ssl_version_min_max() 379 long ssl_version_max = conn_config->version_max; in gnutls_set_ssl_version_min_max() 603 if(!sc->CAfile || !conn_config->CAfile) in gtls_shared_creds_different() 604 return sc->CAfile != conn_config->CAfile; in gtls_shared_creds_different() 606 return strcmp(sc->CAfile, conn_config->CAfile); in gtls_shared_creds_different() 650 if(conn_config->CAfile) { in gtls_set_cached_creds() 651 sc->CAfile = strdup(conn_config->CAfile); in gtls_set_cached_creds() 684 conn_config->verifypeer && in Curl_gtls_client_trust_setup() 685 !conn_config->CApath && in Curl_gtls_client_trust_setup() 686 !conn_config->ca_info_blob && in Curl_gtls_client_trust_setup() [all …]
|
H A D | bearssl.c | 367 struct ssl_primary_config *conn_config) in bearssl_set_ssl_version_min_max() argument 371 switch(conn_config->version) { in bearssl_set_ssl_version_min_max() 391 switch(conn_config->version_max) { in bearssl_set_ssl_version_min_max() 538 struct ssl_primary_config *conn_config = Curl_ssl_cf_get_primary_config(cf); in bearssl_connect_step1() local 540 const struct curl_blob *ca_info_blob = conn_config->ca_info_blob; in bearssl_connect_step1() 543 (ca_info_blob ? NULL : conn_config->CAfile); in bearssl_connect_step1() 545 const bool verifypeer = conn_config->verifypeer; in bearssl_connect_step1() 546 const bool verifyhost = conn_config->verifyhost; in bearssl_connect_step1() 588 ret = bearssl_set_ssl_version_min_max(data, &backend->ctx.eng, conn_config); in bearssl_connect_step1() 595 if(conn_config->cipher_list) { in bearssl_connect_step1() [all …]
|
H A D | schannel_verify.c | 678 struct ssl_primary_config *conn_config = Curl_ssl_cf_get_primary_config(cf); in Curl_verify_certificate() local 703 (conn_config->CAfile || conn_config->ca_info_blob) && in Curl_verify_certificate() 737 const struct curl_blob *ca_info_blob = conn_config->ca_info_blob; in Curl_verify_certificate() 749 conn_config->CAfile, in Curl_verify_certificate() 847 if(conn_config->verifyhost) { in Curl_verify_certificate()
|
H A D | vtls.c | 546 struct ssl_primary_config *conn_config = Curl_ssl_cf_get_primary_config(cf); in Curl_ssl_getsessionid() local 587 match_ssl_primary_config(data, conn_config, &check->ssl_config)) { in Curl_ssl_getsessionid() 656 struct ssl_primary_config *conn_config = Curl_ssl_cf_get_primary_config(cf); in Curl_ssl_set_sessionid() local 738 if(!clone_ssl_primary_config(conn_config, &store->ssl_config)) { in Curl_ssl_set_sessionid()
|
Completed in 61 milliseconds