Lines Matching refs:ssl_version_max
379 long ssl_version_max = conn_config->version_max; in gnutls_set_ssl_version_min_max() local
384 if(ssl_version_max == CURL_SSLVERSION_MAX_NONE) in gnutls_set_ssl_version_min_max()
385 ssl_version_max = CURL_SSLVERSION_MAX_DEFAULT; in gnutls_set_ssl_version_min_max()
388 if((ssl_version_max != CURL_SSLVERSION_MAX_DEFAULT) && in gnutls_set_ssl_version_min_max()
389 (ssl_version_max < CURL_SSLVERSION_MAX_TLSv1_3)) { in gnutls_set_ssl_version_min_max()
401 if((ssl_version_max == CURL_SSLVERSION_MAX_TLSv1_3) || in gnutls_set_ssl_version_min_max()
402 (ssl_version_max == CURL_SSLVERSION_MAX_DEFAULT)) { in gnutls_set_ssl_version_min_max()
403 ssl_version_max = CURL_SSLVERSION_MAX_TLSv1_2; in gnutls_set_ssl_version_min_max()
406 else if(ssl_version_max == CURL_SSLVERSION_MAX_DEFAULT) { in gnutls_set_ssl_version_min_max()
407 ssl_version_max = CURL_SSLVERSION_MAX_TLSv1_3; in gnutls_set_ssl_version_min_max()
410 switch(ssl_version | ssl_version_max) { in gnutls_set_ssl_version_min_max()