Home
last modified time | relevance | path

Searched refs:sslver (Results 1 – 2 of 2) sorted by relevance

/external/curl/lib/vtls/
Dnss.c1708 static CURLcode nss_init_sslver(SSLVersionRange *sslver, in nss_init_sslver() argument
1719 if(SSL_VersionRangeGetDefault(ssl_variant_stream, sslver) != SECSuccess) in nss_init_sslver()
1722 if(sslver->min < SSL_LIBRARY_VERSION_TLS_1_0) in nss_init_sslver()
1723 sslver->min = SSL_LIBRARY_VERSION_TLS_1_0; in nss_init_sslver()
1731 result = nss_sslver_from_curl(&sslver->min, min); in nss_init_sslver()
1743 result = nss_sslver_from_curl(&sslver->max, max >> 16); in nss_init_sslver()
1807 SSLVersionRange sslver = { in nss_setup_connect() local
1864 if(nss_init_sslver(&sslver, data, conn) != CURLE_OK) in nss_setup_connect()
1869 if(sslver_supported.max < sslver.max && sslver_supported.max >= sslver.min) { in nss_setup_connect()
1871 sslver_req_str = nss_sslver_to_name(sslver.max); in nss_setup_connect()
[all …]
Dvtls.c188 const long sslver = data->set.ssl.primary.version; in ssl_prefs_check() local
189 if((sslver < 0) || (sslver >= CURL_SSLVERSION_LAST)) { in ssl_prefs_check()
200 if((data->set.ssl.primary.version_max >> 16) < sslver) { in ssl_prefs_check()