Searched refs:maxversion (Results 1 – 6 of 6) sorted by relevance
/freebsd/crypto/openssl/test/ |
H A D | servername_test.c | 36 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 D | ssl_test.c | 449 int maxversion = TLS1_2_VERSION; in test_handshake() local 451 int maxversion = 0; in test_handshake() 455 if (!TEST_true(SSL_CTX_set_max_proto_version(server_ctx, maxversion)) in test_handshake() 468 maxversion))) in test_handshake() 472 if (!TEST_true(SSL_CTX_set_max_proto_version(client_ctx, maxversion))) in test_handshake() 479 maxversion)) in test_handshake() 486 maxversion))) in test_handshake()
|
H A D | sslapitest.c | 10523 int maxversion = 0; in test_handshake_retry() local 10530 maxversion = TLS1_2_VERSION; in test_handshake_retry() 10537 TLS_client_method(), 0, maxversion, in test_handshake_retry()
|
/freebsd/crypto/openssl/ssl/statem/ |
H A D | extensions_cust.c | 174 int maxversion) in custom_ext_add() argument 187 if (!should_add_extension(s, meth->context, context, maxversion)) in custom_ext_add()
|
/freebsd/crypto/openssl/ssl/ |
H A D | t1_lib.c | 525 int tls_valid_group(SSL *s, uint16_t group_id, int minversion, int maxversion, in tls_valid_group() argument 545 ret &= DTLS_VERSION_GE(maxversion, ginfo->mindtls); in tls_valid_group() 554 ret &= (maxversion >= ginfo->mintls); in tls_valid_group() 555 if (ret && okfortls13 != NULL && maxversion == TLS1_3_VERSION) in tls_valid_group()
|
H A D | ssl_local.h | 2663 int maxversion, int isec, int *okfortls13); 2804 size_t chainidx, int maxversion);
|