Home | History | Annotate | Download | only in ssl

Lines Matching defs:client_version

254  * client which reports a highest version of |client_version|. On success, it
257 static int ssl23_get_mutual_version(SSL *s, int *out_version, uint16_t client_version)
259 if (client_version >= TLS1_2_VERSION && !(s->options & SSL_OP_NO_TLSv1_2))
264 if (client_version >= TLS1_1_VERSION && !(s->options & SSL_OP_NO_TLSv1_1))
269 if (client_version >= TLS1_VERSION && !(s->options & SSL_OP_NO_TLSv1))
274 if (client_version >= SSL3_VERSION && !(s->options & SSL_OP_NO_SSLv3))
295 * ClientHello (assuming client_version is unfragmented):
302 * 9-10 client_version /
342 uint16_t client_version = (p[3] << 8) | p[4];
343 if (!ssl23_get_mutual_version(s, &s->version, client_version))
362 uint16_t client_version;
369 client_version = (p[9] << 8) | p[10];
370 if (!ssl23_get_mutual_version(s, &s->version, client_version))