Searched refs:maxversion (Results 1 – 7 of 7) sorted by relevance
| /freebsd/crypto/openssl/test/ |
| H A D | servername_test.c | 35 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 D | ssl_test.c | 454 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 D | sslapitest.c | 12031 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 D | t1_lib.c | 856 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 D | s3_lib.c | 4824 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 D | ssl_local.h | 2860 int maxversion, int isec, int *okfortls13); 2999 size_t chainidx, int maxversion);
|
| /freebsd/crypto/openssl/ssl/statem/ |
| H A D | extensions_cust.c | 174 size_t chainidx, int maxversion) in custom_ext_add() argument 188 if (!should_add_extension(s, meth->context, context, maxversion)) in custom_ext_add()
|