Home
last modified time | relevance | path

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

/openssl/test/
H A Dservername_test.c36 static int maxversion = TLS1_2_VERSION; variable
38 static int maxversion = 0; variable
111 if (maxversion > 0 in client_setup_sni_before_state()
112 && !TEST_true(SSL_CTX_set_max_proto_version(ctx, maxversion))) in client_setup_sni_before_state()
163 if (maxversion > 0 in client_setup_sni_after_state()
164 && !TEST_true(SSL_CTX_set_max_proto_version(ctx, maxversion))) in client_setup_sni_after_state()
H A Dssl_test.c456 int maxversion = TLS1_2_VERSION; in test_handshake() local
458 int maxversion = 0; in test_handshake()
462 if (!TEST_true(SSL_CTX_set_max_proto_version(server_ctx, maxversion)) in test_handshake()
475 maxversion))) in test_handshake()
479 if (!TEST_true(SSL_CTX_set_max_proto_version(client_ctx, maxversion))) in test_handshake()
486 maxversion)) in test_handshake()
493 maxversion))) in test_handshake()
H A Dsslapitest.c11703 int maxversion = 0; in test_handshake_retry() local
11710 maxversion = TLS1_2_VERSION; in test_handshake_retry()
11717 TLS_client_method(), 0, maxversion, in test_handshake_retry()
/openssl/ssl/statem/
H A Dextensions_cust.c175 size_t chainidx, int maxversion) in custom_ext_add() argument
189 if (!should_add_extension(s, meth->context, context, maxversion)) in custom_ext_add()
/openssl/ssl/
H A Dt1_lib.c847 int minversion, int maxversion, in tls_valid_group() argument
871 ret &= (ssl_version_cmp(s, maxversion, group_minversion) >= 0); in tls_valid_group()
874 if (ret && okfortls13 != NULL && maxversion == TLS1_3_VERSION) in tls_valid_group()
962 int minversion, maxversion; in tls1_shared_group() local
973 maxversion = SSL_CONNECTION_IS_DTLS(s) in tls1_shared_group()
975 if (maxversion == -1) in tls1_shared_group()
978 || (maxversion != 0 in tls1_shared_group()
979 && ssl_version_cmp(s, s->version, maxversion) > 0)) in tls1_shared_group()
2212 int maxversion = SSL_CONNECTION_IS_DTLS(s) ? c->max_dtls : c->max_tls; in ssl_cipher_disabled() local
2241 || ssl_version_cmp(s, maxversion, s->s3.tmp.min_ver) < 0) in ssl_cipher_disabled()
H A Ds3_lib.c4347 int minversion, maxversion; in ssl3_choose_cipher() local
4351 maxversion = SSL_CONNECTION_IS_DTLS(s) ? c->max_dtls : c->max_tls; in ssl3_choose_cipher()
4355 || ssl_version_cmp(s, s->version, maxversion) > 0) in ssl3_choose_cipher()
H A Dssl_local.h2802 int maxversion, int isec, int *okfortls13);
2934 size_t chainidx, int maxversion);

Completed in 78 milliseconds