Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/ssl/statem/
H A Dstatem_lib.c93 int ver_min, ver_max, ok; in tls_setup_handshake() local
103 if (ssl_get_min_max_version(s, &ver_min, &ver_max, NULL) != 0) { in tls_setup_handshake()
114 if (DTLS_VERSION_LE(ver_max, DTLS1_VERSION)) in tls_setup_handshake()
117 if (ver_max <= TLS1_1_VERSION) in tls_setup_handshake()
160 if (DTLS_VERSION_GE(ver_max, c->min_dtls) && in tls_setup_handshake()
161 DTLS_VERSION_LE(ver_max, c->max_dtls)) in tls_setup_handshake()
163 } else if (ver_max >= c->min_tls && ver_max <= c->max_tls) { in tls_setup_handshake()
1904 int ret, ver_min, ver_max, real_max, origv; in ssl_choose_client_version() local
1948 ret = ssl_get_min_max_version(s, &ver_min, &ver_max, &real_max); in ssl_choose_client_version()
1959 } else if (SSL_IS_DTLS(s) ? DTLS_VERSION_GT(s->version, ver_max) in ssl_choose_client_version()
[all …]