Lines Matching refs:proto_version
2178 int proto_version = PY_SSL_VERSION_TLS; in context_new() local
2184 &proto_version)) in context_new()
2188 if (proto_version == PY_SSL_VERSION_TLS1) in context_new()
2191 else if (proto_version == PY_SSL_VERSION_TLS1_1) in context_new()
2193 else if (proto_version == PY_SSL_VERSION_TLS1_2) in context_new()
2197 else if (proto_version == PY_SSL_VERSION_SSL3) in context_new()
2201 else if (proto_version == PY_SSL_VERSION_SSL2) in context_new()
2204 else if (proto_version == PY_SSL_VERSION_TLS) in context_new()
2207 proto_version = -1; in context_new()
2210 if (proto_version == -1) { in context_new()
2241 if (proto_version != PY_SSL_VERSION_SSL2) in context_new()
2243 if (proto_version != PY_SSL_VERSION_SSL3) in context_new()