Searched refs:binary_mode (Results 1 – 4 of 4) sorted by relevance
66 _ssl__SSLSocket_getpeercert_impl(PySSLSocket *self, int binary_mode);72 int binary_mode = 0; in _ssl__SSLSocket_getpeercert() local80 binary_mode = PyObject_IsTrue(args[0]); in _ssl__SSLSocket_getpeercert()81 if (binary_mode < 0) { in _ssl__SSLSocket_getpeercert()85 return_value = _ssl__SSLSocket_getpeercert_impl(self, binary_mode); in _ssl__SSLSocket_getpeercert()
302 def read_file_to_string(filename, binary_mode=False): argument317 if binary_mode:
1489 PyObject *binary_mode = Py_None; in PySSL_peercert() local1492 if (!PyArg_ParseTuple(args, "|O:peer_certificate", &binary_mode)) in PySSL_peercert()1503 b = PyObject_IsTrue(binary_mode); in PySSL_peercert()3411 int binary_mode = 0; in get_ca_certs() local3417 binary_mode = PyObject_IsTrue(py_binary_mode); in get_ca_certs()3418 if (binary_mode < 0) { in get_ca_certs()3442 if (binary_mode) { in get_ca_certs()
1921 _ssl__SSLSocket_getpeercert_impl(PySSLSocket *self, int binary_mode) in _ssl__SSLSocket_getpeercert_impl() argument1937 if (binary_mode) { in _ssl__SSLSocket_getpeercert_impl()