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.h321 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.c845 if(config->cert && !config->cert_type && is_pkcs11_uri(config->cert)) { in set_cert_types()
846 config->cert_type = strdup("ENG"); in set_cert_types()
847 if(!config->cert_type) in set_cert_types()
1286 my_setopt_str(curl, CURLOPT_SSLCERTTYPE, config->cert_type); in config2setopts()
H A Dtool_getparam.c1904 err = getstr(&config->cert_type, nextarg, DENY_BLANK); in getparameter()
/curl/lib/vtls/
H A Dgtls.c956 if(ssl_config->cert_type && strcasecompare(ssl_config->cert_type, "P12")) { in gtls_client_init()
978 gnutls_do_file_type(ssl_config->cert_type), in gtls_client_init()
993 gnutls_do_file_type(ssl_config->cert_type) ) != in gtls_client_init()
H A Dwolfssl.c1011 int file_type = wolfssl_do_file_type(ssl_config->cert_type); in wolfssl_connect_step1()
1057 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()
3498 const char * const ssl_cert_type = ssl_config->cert_type; in Curl_ossl_ctx_init()
H A Dvtls.c312 data->set.ssl.cert_type = data->set.str[STRING_CERT_TYPE]; in Curl_ssl_easy_config_complete()
337 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.c590 if((fInCert || blob) && (data->set.ssl.cert_type) && in schannel_acquire_credential_handle()
591 (!strcasecompare(data->set.ssl.cert_type, "P12"))) { in schannel_acquire_credential_handle()

Completed in 1694 milliseconds