Home
last modified time | relevance | path

Searched refs:max_version (Results 1 – 14 of 14) sorted by relevance

/freebsd-12.1/crypto/openssl/apps/
H A Dciphers.c100 int min_version = 0, max_version = 0; in ciphers_main() local
131 max_version = SSL3_VERSION; in ciphers_main()
135 max_version = TLS1_VERSION; in ciphers_main()
139 max_version = TLS1_1_VERSION; in ciphers_main()
143 max_version = TLS1_2_VERSION; in ciphers_main()
147 max_version = TLS1_3_VERSION; in ciphers_main()
183 if (SSL_CTX_set_max_proto_version(ctx, max_version) == 0) in ciphers_main()
H A Ds_time.c104 int max_version = 0, ver, buf_len; in s_time_main() local
180 max_version = SSL3_VERSION; in s_time_main()
196 if (SSL_CTX_set_max_proto_version(ctx, max_version) == 0) in s_time_main()
H A Ds_client.c963 int min_version = 0, max_version = 0, prot_opt = 0, no_prot_opt = 0; in s_client_main() local
1285 max_version = SSL3_VERSION; in s_client_main()
1289 max_version = TLS1_3_VERSION; in s_client_main()
1293 max_version = TLS1_2_VERSION; in s_client_main()
1297 max_version = TLS1_1_VERSION; in s_client_main()
1301 max_version = TLS1_VERSION; in s_client_main()
1314 max_version = DTLS1_VERSION; in s_client_main()
1323 max_version = DTLS1_2_VERSION; in s_client_main()
1730 if (max_version != 0 in s_client_main()
1731 && SSL_CTX_set_max_proto_version(ctx, max_version) == 0) in s_client_main()
H A Ds_server.c1035 int min_version = 0, max_version = 0, prot_opt = 0, no_prot_opt = 0; in s_server_main() local
1452 max_version = SSL3_VERSION; in s_server_main()
1456 max_version = TLS1_3_VERSION; in s_server_main()
1460 max_version = TLS1_2_VERSION; in s_server_main()
1464 max_version = TLS1_1_VERSION; in s_server_main()
1468 max_version = TLS1_VERSION; in s_server_main()
1480 max_version = DTLS1_VERSION; in s_server_main()
1488 max_version = DTLS1_2_VERSION; in s_server_main()
1813 if (max_version != 0 in s_server_main()
1814 && SSL_CTX_set_max_proto_version(ctx, max_version) == 0) in s_server_main()
/freebsd-12.1/crypto/openssl/ssl/
H A Dssl_conf.c96 int *max_version; member
364 return min_max_proto(cctx, value, cctx->max_version); in cmd_MaxProtocol()
964 cctx->max_version = &ssl->max_proto_version; in SSL_CONF_CTX_set_ssl()
970 cctx->max_version = NULL; in SSL_CONF_CTX_set_ssl()
983 cctx->max_version = &ctx->max_proto_version; in SSL_CONF_CTX_set_ssl_ctx()
989 cctx->max_version = NULL; in SSL_CONF_CTX_set_ssl_ctx()
H A Dssl_lib.c471 if (max_version == DTLS1_BAD_VER in ssl_check_allowed_versions()
486 if (max_version == 0) in ssl_check_allowed_versions()
487 max_version = DTLS1_2_VERSION; in ssl_check_allowed_versions()
490 max_version = DTLS1_VERSION; in ssl_check_allowed_versions()
512 if (max_version == 0) in ssl_check_allowed_versions()
513 max_version = TLS1_3_VERSION; in ssl_check_allowed_versions()
516 max_version = TLS1_2_VERSION; in ssl_check_allowed_versions()
520 max_version = TLS1_1_VERSION; in ssl_check_allowed_versions()
524 max_version = TLS1_VERSION; in ssl_check_allowed_versions()
527 if (max_version == TLS1_VERSION) in ssl_check_allowed_versions()
[all …]
H A Dssl_locl.h2402 int *max_version, int *real_max);
/freebsd-12.1/contrib/googletest/googletest/scripts/
H A Dgtest-config.in260 check_versions ${min_version:-0.0.0} ${max_version:-9999.9999.9999}
/freebsd-12.1/contrib/googletest/googlemock/scripts/
H A Dgmock-config.in289 check_versions ${min_version:-0.0.0} ${max_version:-9999.9999.9999}
/freebsd-12.1/crypto/openssl/ssl/statem/
H A Dextensions.c773 int max_version) in should_add_extension() argument
783 && (SSL_IS_DTLS(s) || max_version < TLS1_3_VERSION))) in should_add_extension()
801 int min_version, max_version = 0, reason; in tls_construct_extensions() local
820 reason = ssl_get_min_max_version(s, &min_version, &max_version, NULL); in tls_construct_extensions()
833 if (!custom_ext_add(s, context, pkt, x, chainidx, max_version)) { in tls_construct_extensions()
844 if (!should_add_extension(s, thisexd->context, context, max_version)) in tls_construct_extensions()
H A Dextensions_clnt.c511 int currv, min_version, max_version, reason; in tls_construct_ctos_supported_versions() local
513 reason = ssl_get_min_max_version(s, &min_version, &max_version, NULL); in tls_construct_ctos_supported_versions()
524 if (max_version < TLS1_3_VERSION) in tls_construct_ctos_supported_versions()
536 for (currv = max_version; currv >= min_version; currv--) { in tls_construct_ctos_supported_versions()
H A Dstatem_lib.c2005 int ssl_get_min_max_version(const SSL *s, int *min_version, int *max_version, in ssl_get_min_max_version() argument
2024 *min_version = *max_version = s->version; in ssl_get_min_max_version()
2095 *max_version = version; in ssl_get_min_max_version()
H A Dstatem_locl.h176 unsigned int thisctx, int max_version);
/freebsd-12.1/sys/dev/sfxge/common/
H A Defx_mcdi.c255 unsigned int max_version; in efx_mcdi_request_start() local
284 max_version = emip->emi_max_version; in efx_mcdi_request_start()
296 if ((max_version >= 2) && in efx_mcdi_request_start()