Lines Matching refs:ssl_version_cmp
165 if (ssl_version_cmp(s, ver_max, md5sha1_needed_maxversion) <= 0) { in tls_setup_handshake()
180 if (ssl_version_cmp(s, ver_min, negotiated_minversion) < 0) in tls_setup_handshake()
206 if (ssl_version_cmp(s, ver_max, cipher_minprotover) >= 0 in tls_setup_handshake()
207 && ssl_version_cmp(s, ver_max, cipher_maxprotover) <= 0) { in tls_setup_handshake()
1797 int ssl_version_cmp(const SSL_CONNECTION *s, int versiona, int versionb) in ssl_version_cmp() function
1882 ssl_version_cmp(s, version, s->min_proto_version) < 0) || in ssl_method_error()
1887 ssl_version_cmp(s, version, s->max_proto_version) > 0) in ssl_method_error()
1975 return ssl_version_cmp(s, version, s->version) == 0; in ssl_version_supported()
1985 vent->version != 0 && ssl_version_cmp(s, version, vent->version) <= 0; in ssl_version_supported()
1991 && ssl_version_cmp(s, version, vent->version) == 0 in ssl_version_supported()
2165 if (ssl_version_cmp(s, client_version, s->version) < 0) in ssl_choose_server_version()
2222 if (ssl_version_cmp(s, candidate_vers, best_vers) <= 0) in ssl_choose_server_version()
2257 if (ssl_version_cmp(s, client_version, TLS1_3_VERSION) >= 0) in ssl_choose_server_version()
2268 ssl_version_cmp(s, client_version, vent->version) < 0) in ssl_choose_server_version()
2356 if (ssl_version_cmp(s, s->version, ver_min) < 0 in ssl_choose_client_version()
2357 || ssl_version_cmp(s, s->version, ver_max) > 0) { in ssl_choose_client_version()