Home
last modified time | relevance | path

Searched refs:cert_type (Results 1 – 12 of 12) sorted by relevance

/curl/lib/
H A Dldap.c393 int cert_type = LDAPSSL_CERT_FILETYPE_B64; in ldap_do()
394 if((data->set.ssl.cert_type) && in ldap_do()
395 (strcasecompare(data->set.ssl.cert_type, "DER"))) in ldap_do()
396 cert_type = LDAPSSL_CERT_FILETYPE_DER; in ldap_do()
399 (cert_type == LDAPSSL_CERT_FILETYPE_DER ? "DER" : "PEM")); in ldap_do()
404 (cert_type == LDAPSSL_CERT_FILETYPE_DER ? "DER" : "PEM"), in ldap_do()
406 rc = ldapssl_add_trusted_cert(ldap_ca, cert_type); in ldap_do()
409 (cert_type == LDAPSSL_CERT_FILETYPE_DER ? "DER" : "PEM"), in ldap_do()
435 if((data->set.ssl.cert_type) && in ldap_do()
436 (!strcasecompare(data->set.ssl.cert_type, "PEM"))) { in ldap_do()
H A Durldata.h320 char *cert_type; /* format for certificate (default: PEM)*/ member
/curl/src/
H A Dtool_cfgable.h143 char *cert_type; member
H A Dtool_cfgable.c123 Curl_safefree(config->cert_type); in free_config_fields()
H A Dtool_operate.c1771 if(!config->cert_type) { in single_transfer()
1773 config->cert_type = strdup("ENG"); in single_transfer()
1851 my_setopt_str(curl, CURLOPT_SSLCERTTYPE, config->cert_type); in single_transfer()
H A Dtool_getparam.c1896 err = getstr(&config->cert_type, nextarg, DENY_BLANK); in getparameter()
/curl/lib/vtls/
H A Dgtls.c939 if(ssl_config->cert_type && strcasecompare(ssl_config->cert_type, "P12")) { in gtls_client_init()
961 gnutls_do_file_type(ssl_config->cert_type), in gtls_client_init()
976 gnutls_do_file_type(ssl_config->cert_type) ) != in gtls_client_init()
H A Dwolfssl.c876 int file_type = wolfssl_do_file_type(ssl_config->cert_type); in wolfssl_connect_step1()
922 int file_type = wolfssl_do_file_type(ssl_config->cert_type); in wolfssl_connect_step1()
H A Dopenssl.c1298 const char *cert_type, in cert_stuff() argument
1307 int file_type = ossl_do_file_type(cert_type); in cert_stuff()
1539 failf(data, "not supported file type '%s' for certificate", cert_type); in cert_stuff()
3506 const char * const ssl_cert_type = ssl_config->cert_type; in Curl_ossl_ctx_init()
H A Dvtls.c302 data->set.ssl.cert_type = data->set.str[STRING_CERT_TYPE]; in Curl_ssl_easy_config_complete()
327 data->set.proxy_ssl.cert_type = data->set.str[STRING_CERT_TYPE_PROXY]; in Curl_ssl_easy_config_complete()
H A Dsectransp.c1141 if(!ssl_config->cert_type)
1144 else if(!strcasecompare(ssl_config->cert_type, "P12")) {
H A Dschannel.c584 if((fInCert || blob) && (data->set.ssl.cert_type) && in schannel_acquire_credential_handle()
585 (!strcasecompare(data->set.ssl.cert_type, "P12"))) { in schannel_acquire_credential_handle()

Completed in 118 milliseconds