Home
last modified time | relevance | path

Searched refs:maxversion (Results 1 – 7 of 7) sorted by relevance

/freebsd/crypto/openssl/test/
H A Dservername_test.c35 static int maxversion = TLS1_2_VERSION; variable
37 static int maxversion = 0; variable
109 if (maxversion > 0 in client_setup_sni_before_state()
110 && !TEST_true(SSL_CTX_set_max_proto_version(ctx, maxversion))) in client_setup_sni_before_state()
161 if (maxversion > 0 in client_setup_sni_after_state()
162 && !TEST_true(SSL_CTX_set_max_proto_version(ctx, maxversion))) in client_setup_sni_after_state()
H A Dssl_test.c454 int maxversion = TLS1_2_VERSION; in test_handshake() local
456 int maxversion = 0; in test_handshake()
460 if (!TEST_true(SSL_CTX_set_max_proto_version(server_ctx, maxversion)) in test_handshake()
471 maxversion))) in test_handshake()
475 if (!TEST_true(SSL_CTX_set_max_proto_version(client_ctx, maxversion))) in test_handshake()
482 maxversion)) in test_handshake()
489 maxversion))) in test_handshake()
H A Dsslapitest.c12031 int maxversion = 0; in test_handshake_retry() local
12038 maxversion = TLS1_2_VERSION; in test_handshake_retry()
12045 TLS_client_method(), 0, maxversion, in test_handshake_retry()
/freebsd/crypto/openssl/ssl/
H A Dt1_lib.c856 int minversion, int maxversion, in tls_valid_group() argument
880 ret &= (ssl_version_cmp(s, maxversion, group_minversion) >= 0); in tls_valid_group()
883 if (ret && okfortls13 != NULL && maxversion == TLS1_3_VERSION) in tls_valid_group()
1047 int minversion, maxversion; in tls1_shared_group() local
1059 maxversion = SSL_CONNECTION_IS_DTLS(s) in tls1_shared_group()
1062 if (maxversion == -1) in tls1_shared_group()
1065 || (maxversion != 0 in tls1_shared_group()
1066 && ssl_version_cmp(s, s->version, maxversion) > 0)) in tls1_shared_group()
2643 int minversion, maxversion; in tls_sigalg_compat() local
2657 maxversion = lu->maxdtls; in tls_sigalg_compat()
[all …]
H A Ds3_lib.c4824 int minversion, maxversion; in ssl3_choose_cipher() local
4828 maxversion = SSL_CONNECTION_IS_DTLS(s) ? c->max_dtls : c->max_tls; in ssl3_choose_cipher()
4832 || ssl_version_cmp(s, s->version, maxversion) > 0) in ssl3_choose_cipher()
H A Dssl_local.h2860 int maxversion, int isec, int *okfortls13);
2999 size_t chainidx, int maxversion);
/freebsd/crypto/openssl/ssl/statem/
H A Dextensions_cust.c174 size_t chainidx, int maxversion) in custom_ext_add() argument
188 if (!should_add_extension(s, meth->context, context, maxversion)) in custom_ext_add()