Home
last modified time | relevance | path

Searched refs:SSL_CONN_CONFIG (Results 1 – 13 of 13) sorted by relevance

/external/curl/lib/vtls/
Dgtls.c390 long ssl_version = SSL_CONN_CONFIG(version); in set_ssl_version_min_max()
391 long ssl_version_max = SSL_CONN_CONFIG(version_max); in set_ssl_version_min_max()
440 long ssl_version = SSL_CONN_CONFIG(version); in set_ssl_version_min_max()
441 long ssl_version_max = SSL_CONN_CONFIG(version_max); in set_ssl_version_min_max()
568 if(SSL_CONN_CONFIG(version) == CURL_SSLVERSION_SSLv2) { in gtls_connect_step1()
572 else if(SSL_CONN_CONFIG(version) == CURL_SSLVERSION_SSLv3) in gtls_connect_step1()
605 if(SSL_CONN_CONFIG(CAfile)) { in gtls_connect_step1()
611 SSL_CONN_CONFIG(CAfile), in gtls_connect_step1()
615 SSL_CONN_CONFIG(CAfile), gnutls_strerror(rc)); in gtls_connect_step1()
616 if(SSL_CONN_CONFIG(verifypeer)) in gtls_connect_step1()
[all …]
Dcyassl.c161 if(SSL_CONN_CONFIG(version_max) != CURL_SSLVERSION_MAX_NONE) { in cyassl_connect_step1()
167 switch(SSL_CONN_CONFIG(version)) { in cyassl_connect_step1()
237 switch(SSL_CONN_CONFIG(version)) { in cyassl_connect_step1()
262 ciphers = SSL_CONN_CONFIG(cipher_list); in cyassl_connect_step1()
273 if(SSL_CONN_CONFIG(CAfile)) { in cyassl_connect_step1()
275 SSL_CONN_CONFIG(CAfile), in cyassl_connect_step1()
276 SSL_CONN_CONFIG(CApath))) { in cyassl_connect_step1()
277 if(SSL_CONN_CONFIG(verifypeer)) { in cyassl_connect_step1()
281 SSL_CONN_CONFIG(CAfile)? in cyassl_connect_step1()
282 SSL_CONN_CONFIG(CAfile): "none", in cyassl_connect_step1()
[all …]
Dpolarssl.c178 long ssl_version = SSL_CONN_CONFIG(version); in set_ssl_version_min_max()
179 long ssl_version_max = SSL_CONN_CONFIG(version_max); in set_ssl_version_min_max()
221 const char *capath = SSL_CONN_CONFIG(CApath); in polarssl_connect_step1()
230 if(SSL_CONN_CONFIG(version) == CURL_SSLVERSION_SSLv2) { in polarssl_connect_step1()
258 if(SSL_CONN_CONFIG(CAfile)) { in polarssl_connect_step1()
260 SSL_CONN_CONFIG(CAfile)); in polarssl_connect_step1()
265 SSL_CONN_CONFIG(CAfile), -ret, errorbuf); in polarssl_connect_step1()
267 if(SSL_CONN_CONFIG(verifypeer)) in polarssl_connect_step1()
280 if(SSL_CONN_CONFIG(verifypeer)) in polarssl_connect_step1()
347 switch(SSL_CONN_CONFIG(version)) { in polarssl_connect_step1()
[all …]
Dmesalink.c86 const bool verifypeer = SSL_CONN_CONFIG(verifypeer); in mesalink_connect_step1()
87 const char *const ssl_cafile = SSL_CONN_CONFIG(CAfile); in mesalink_connect_step1()
88 const char *const ssl_capath = SSL_CONN_CONFIG(CApath); in mesalink_connect_step1()
103 if(SSL_CONN_CONFIG(version_max) != CURL_SSLVERSION_MAX_NONE) { in mesalink_connect_step1()
108 switch(SSL_CONN_CONFIG(version)) { in mesalink_connect_step1()
171 ciphers = SSL_CONN_CONFIG(cipher_list); in mesalink_connect_step1()
281 if(detail && SSL_CONN_CONFIG(verifypeer)) { in mesalink_connect_step2()
Dmbedtls.c200 long ssl_version = SSL_CONN_CONFIG(version); in set_ssl_version_min_max()
201 long ssl_version_max = SSL_CONN_CONFIG(version_max); in set_ssl_version_min_max()
243 const char * const ssl_cafile = SSL_CONN_CONFIG(CAfile); in mbed_connect_step1()
244 const bool verifypeer = SSL_CONN_CONFIG(verifypeer); in mbed_connect_step1()
245 const char * const ssl_capath = SSL_CONN_CONFIG(CApath); in mbed_connect_step1()
256 if(SSL_CONN_CONFIG(version) == CURL_SSLVERSION_SSLv2) { in mbed_connect_step1()
398 switch(SSL_CONN_CONFIG(version)) { in mbed_connect_step1()
577 if(!SSL_CONN_CONFIG(verifyhost)) in mbed_connect_step2()
581 if(ret && SSL_CONN_CONFIG(verifypeer)) { in mbed_connect_step2()
Dnss.c764 if(SSL_CONN_CONFIG(verifystatus)) { in nss_auth_cert_hook()
790 if(!SSL_CONN_CONFIG(verifypeer)) { in nss_auth_cert_hook()
1020 if(err == SSL_ERROR_BAD_CERT_DOMAIN && !SSL_CONN_CONFIG(verifyhost)) in BadCertHandler()
1587 const char *cafile = SSL_CONN_CONFIG(CAfile); in nss_load_ca_certificates()
1588 const char *capath = SSL_CONN_CONFIG(CApath); in nss_load_ca_certificates()
1713 const long min = SSL_CONN_CONFIG(version); in nss_init_sslver()
1714 const long max = SSL_CONN_CONFIG(version_max); in nss_init_sslver()
1859 && SSL_CONN_CONFIG(verifypeer)) ? PR_FALSE : PR_TRUE; in nss_setup_connect()
1895 if(SSL_CONN_CONFIG(cipher_list)) { in nss_setup_connect()
1896 if(set_ciphers(data, model, SSL_CONN_CONFIG(cipher_list)) != SECSuccess) { in nss_setup_connect()
[all …]
Dschannel_verify.c441 if(result == CURLE_OK && SSL_CONN_CONFIG(CAfile) && in Curl_verify_certificate()
467 result = add_certs_to_store(trust_store, SSL_CONN_CONFIG(CAfile), in Curl_verify_certificate()
549 if(SSL_CONN_CONFIG(verifyhost)) { in Curl_verify_certificate()
Dopenssl.c2165 long ssl_version = SSL_CONN_CONFIG(version); in set_ssl_version_min_max()
2166 long ssl_version_max = SSL_CONN_CONFIG(version_max); in set_ssl_version_min_max()
2309 const long int ssl_version = SSL_CONN_CONFIG(version); in ossl_connect_step1()
2315 const char * const ssl_cafile = SSL_CONN_CONFIG(CAfile); in ossl_connect_step1()
2316 const char * const ssl_capath = SSL_CONN_CONFIG(CApath); in ossl_connect_step1()
2317 const bool verifypeer = SSL_CONN_CONFIG(verifypeer); in ossl_connect_step1()
2548 ciphers = SSL_CONN_CONFIG(cipher_list); in ossl_connect_step1()
2561 char *ciphers13 = SSL_CONN_CONFIG(cipher_list13); in ossl_connect_step1()
2591 if(!SSL_CONN_CONFIG(cipher_list)) { in ossl_connect_step1()
2712 if(SSL_CONN_CONFIG(verifystatus)) in ossl_connect_step1()
[all …]
Dgskit.c306 const char *cipherlist = SSL_CONN_CONFIG(cipher_list); in set_ciphers()
764 long ssl_version = SSL_CONN_CONFIG(version); in set_ssl_version_min_max()
765 long ssl_version_max = SSL_CONN_CONFIG(version_max); in set_ssl_version_min_max()
800 const char * const keyringfile = SSL_CONN_CONFIG(CAfile); in gskit_connect_step1()
803 const long int ssl_version = SSL_CONN_CONFIG(version); in gskit_connect_step1()
804 const bool verifypeer = SSL_CONN_CONFIG(verifypeer); in gskit_connect_step1()
Dsectransp.c1278 long ssl_version = SSL_CONN_CONFIG(version); in set_ssl_version_min_max()
1279 long ssl_version_max = SSL_CONN_CONFIG(version_max); in set_ssl_version_min_max()
1375 const char * const ssl_cafile = SSL_CONN_CONFIG(CAfile);
1376 const bool verifypeer = SSL_CONN_CONFIG(verifypeer);
1937 verifypeer, SSL_CONN_CONFIG(verifyhost), hostname, port);
2372 if(SSL_CONN_CONFIG(CAfile) && SSL_CONN_CONFIG(verifypeer)) {
2373 int res = verify_cert(SSL_CONN_CONFIG(CAfile), data,
Dschannel.c176 long ssl_version = SSL_CONN_CONFIG(version); in set_ssl_version_min_max()
177 long ssl_version_max = SSL_CONN_CONFIG(version_max); in set_ssl_version_min_max()
473 if(SSL_CONN_CONFIG(CAfile)) { in schannel_connect_step1()
487 if(SSL_CONN_CONFIG(CAfile)) { in schannel_connect_step1()
582 if(SSL_CONN_CONFIG(cipher_list)) { in schannel_connect_step1()
583 result = set_ssl_ciphers(&schannel_cred, SSL_CONN_CONFIG(cipher_list)); in schannel_connect_step1()
Dvtls.h138 #define SSL_CONN_CONFIG(var) (SSL_IS_PROXY() ? \ macro
/external/curl/lib/
Dx509asn1.c1163 if(!SSL_CONN_CONFIG(verifyhost)) in Curl_verifyhost()