Lines Matching full:proto_version
2594 protocol as proto_version: int
2599 _ssl__SSLContext_impl(PyTypeObject *type, int proto_version)
2611 if (proto_version == PY_SSL_VERSION_TLS1)
2614 else if (proto_version == PY_SSL_VERSION_TLS1_1)
2616 else if (proto_version == PY_SSL_VERSION_TLS1_2)
2620 else if (proto_version == PY_SSL_VERSION_SSL3)
2624 else if (proto_version == PY_SSL_VERSION_SSL2)
2627 else if (proto_version == PY_SSL_VERSION_TLS) /* SSLv23 */
2629 else if (proto_version == PY_SSL_VERSION_TLS_CLIENT)
2631 else if (proto_version == PY_SSL_VERSION_TLS_SERVER)
2634 proto_version = -1;
2637 if (proto_version == -1) {
2665 if (proto_version == PY_SSL_VERSION_TLS_CLIENT) {
2680 if (proto_version != PY_SSL_VERSION_SSL2)
2682 if (proto_version != PY_SSL_VERSION_SSL3)
2702 if (proto_version != PY_SSL_VERSION_SSL2) {