Lines Matching refs:max_version
139 static int use_ecc(SSL_CONNECTION *s, int min_version, int max_version) in use_ecc() argument
175 if (tls_valid_group(s, ctmp, min_version, max_version, 1, NULL) in use_ecc()
189 int reason, min_version, max_version; in tls_construct_ctos_ec_pt_formats() local
191 reason = ssl_get_min_max_version(s, &min_version, &max_version, NULL); in tls_construct_ctos_ec_pt_formats()
196 if (!use_ecc(s, min_version, max_version)) in tls_construct_ctos_ec_pt_formats()
220 int min_version, max_version, reason; in tls_construct_ctos_supported_groups() local
222 reason = ssl_get_min_max_version(s, &min_version, &max_version, NULL); in tls_construct_ctos_supported_groups()
232 if (!use_ecc(s, min_version, max_version) in tls_construct_ctos_supported_groups()
233 && (SSL_CONNECTION_IS_DTLS(s) || max_version < TLS1_3_VERSION)) in tls_construct_ctos_supported_groups()
254 if (tls_valid_group(s, ctmp, min_version, max_version, 0, &okfortls13) in tls_construct_ctos_supported_groups()
260 if (okfortls13 && max_version == TLS1_3_VERSION) in tls_construct_ctos_supported_groups()
274 if (tls13added == 0 && max_version == TLS1_3_VERSION) { in tls_construct_ctos_supported_groups()
563 int currv, min_version, max_version, reason; in tls_construct_ctos_supported_versions() local
565 reason = ssl_get_min_max_version(s, &min_version, &max_version, NULL); in tls_construct_ctos_supported_versions()
575 if (max_version < TLS1_3_VERSION) in tls_construct_ctos_supported_versions()
585 for (currv = max_version; currv >= min_version; currv--) { in tls_construct_ctos_supported_versions()