Home
last modified time | relevance | path

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

/openssl/apps/
H A Dciphers.c106 int min_version = 0, max_version = 0; in ciphers_main() local
136 min_version = SSL3_VERSION; in ciphers_main()
140 min_version = TLS1_VERSION; in ciphers_main()
144 min_version = TLS1_1_VERSION; in ciphers_main()
148 min_version = TLS1_2_VERSION; in ciphers_main()
152 min_version = TLS1_3_VERSION; in ciphers_main()
192 if (SSL_CTX_set_min_proto_version(ctx, min_version) == 0) in ciphers_main()
H A Ds_time.c130 int min_version = 0, max_version = 0, ver, buf_len, fd; in s_time_main() local
210 min_version = SSL3_VERSION; in s_time_main()
214 min_version = TLS1_VERSION; in s_time_main()
218 min_version = TLS1_1_VERSION; in s_time_main()
222 min_version = TLS1_2_VERSION; in s_time_main()
226 min_version = TLS1_3_VERSION; in s_time_main()
247 if (SSL_CTX_set_min_proto_version(ctx, min_version) == 0) in s_time_main()
H A Ds_client.c1253 if (min_version < TLS1_VERSION) in s_client_main()
1254 min_version = TLS1_VERSION; in s_client_main()
1283 min_version = SSL3_VERSION; in s_client_main()
1292 min_version = TLS1_3_VERSION; in s_client_main()
1301 min_version = TLS1_2_VERSION; in s_client_main()
1310 min_version = TLS1_1_VERSION; in s_client_main()
1319 min_version = TLS1_VERSION; in s_client_main()
1338 min_version = DTLS1_VERSION; in s_client_main()
1348 min_version = DTLS1_2_VERSION; in s_client_main()
1358 min_version = 0; in s_client_main()
[all …]
H A Ds_server.c1494 if (min_version < TLS1_VERSION) in s_server_main()
1495 min_version = TLS1_VERSION; in s_server_main()
1501 if (min_version < TLS1_VERSION) in s_server_main()
1521 min_version = SSL3_VERSION; in s_server_main()
1525 min_version = TLS1_3_VERSION; in s_server_main()
1529 min_version = TLS1_2_VERSION; in s_server_main()
1533 min_version = TLS1_1_VERSION; in s_server_main()
1537 min_version = TLS1_VERSION; in s_server_main()
1549 min_version = DTLS1_VERSION; in s_server_main()
1557 min_version = DTLS1_2_VERSION; in s_server_main()
[all …]
/openssl/test/
H A Dssl_ctx_test.c15 int min_version; member
110 if (!TEST_int_eq(SSL_CTX_set_min_proto_version(ctx, t.min_version), t.min_ok)) in test_set_min_max_version()
119 if (!TEST_int_eq(SSL_set_min_proto_version(ssl, t.min_version), t.min_ok)) in test_set_min_max_version()
H A Dssl_old_test.c930 int min_version = 0, max_version = 0; in main() local
1358 min_version = SSL3_VERSION; in main()
1361 min_version = TLS1_VERSION; in main()
1364 min_version = TLS1_1_VERSION; in main()
1367 min_version = TLS1_2_VERSION; in main()
1370 min_version = 0; in main()
1383 min_version = DTLS1_VERSION; in main()
1386 min_version = DTLS1_2_VERSION; in main()
1389 min_version = 0; in main()
1420 if (SSL_CTX_set_min_proto_version(c_ctx, min_version) == 0) in main()
[all …]
H A Dsslapitest.c959 int min_version, int max_version, in execute_test_large_message() argument
966 if (!TEST_true(create_ssl_ctx_pair(libctx, smeth, cmeth, min_version, in execute_test_large_message()
1708 int min_version, int max_version) in execute_cleanse_plaintext() argument
1723 min_version, max_version, in execute_cleanse_plaintext()
9245 int min_version = TLS1_VERSION; in test_multiblock_write() local
9275 if (!TEST_true(create_ssl_ctx_pair(libctx, smeth, cmeth, min_version, in test_multiblock_write()
/openssl/ssl/statem/
H A Dextensions_clnt.c139 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()
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()
[all …]
H A Dstatem_lib.c2430 int ssl_get_min_max_version(const SSL_CONNECTION *s, int *min_version, in ssl_get_min_max_version() argument
2449 *min_version = *max_version = s->version; in ssl_get_min_max_version()
2485 *min_version = version = 0; in ssl_get_min_max_version()
2508 *min_version = method->version; in ssl_get_min_max_version()
2513 *min_version = version; in ssl_get_min_max_version()
H A Dextensions.c855 int min_version, max_version = 0, reason; in tls_construct_extensions() local
875 reason = ssl_get_min_max_version(s, &min_version, &max_version, NULL); in tls_construct_extensions()
/openssl/ssl/
H A Dssl_conf.c97 int *min_version; member
359 return min_max_proto(cctx, value, cctx->min_version); in cmd_MinProtocol()
1128 cctx->min_version = &sc->min_proto_version; in SSL_CONF_CTX_set_ssl()
1134 cctx->min_version = NULL; in SSL_CONF_CTX_set_ssl()
1147 cctx->min_version = &ctx->min_proto_version; in SSL_CONF_CTX_set_ssl_ctx()
1153 cctx->min_version = NULL; in SSL_CONF_CTX_set_ssl_ctx()
H A Dssl_lib.c456 if (min_version == DTLS1_BAD_VER in ssl_check_allowed_versions()
471 if (min_version == 0) in ssl_check_allowed_versions()
473 min_version = DTLS1_VERSION; in ssl_check_allowed_versions()
481 if (min_version == DTLS1_VERSION) in ssl_check_allowed_versions()
498 if (min_version == 0) in ssl_check_allowed_versions()
499 min_version = SSL3_VERSION; in ssl_check_allowed_versions()
519 if (min_version == SSL3_VERSION) in ssl_check_allowed_versions()
520 min_version = TLS1_VERSION; in ssl_check_allowed_versions()
523 if (min_version == TLS1_VERSION) in ssl_check_allowed_versions()
524 min_version = TLS1_1_VERSION; in ssl_check_allowed_versions()
[all …]
H A Dssl_local.h2670 __owur int ssl_get_min_max_version(const SSL_CONNECTION *s, int *min_version,

Completed in 107 milliseconds