Lines Matching refs:PySSLErrorObject
81 static PyObject *PySSLErrorObject; variable
752 PyObject *type = PySSLErrorObject; in PySSL_SetError()
854 fill_and_set_sslerror(NULL, PySSLErrorObject, errcode, errstr, lineno, errcode); in _setSSLError()
1109 PyErr_SetString(PySSLErrorObject, in _ssl__SSLSocket_do_handshake_impl()
1113 PyErr_SetString(PySSLErrorObject, in _ssl__SSLSocket_do_handshake_impl()
1318 PyErr_SetString(PySSLErrorObject, "failed to allocate BIO"); in _get_peer_alt_names()
1725 PyErr_SetString(PySSLErrorObject, "failed to allocate BIO"); in _decode_certificate()
1876 PyErr_SetString(PySSLErrorObject, in _ssl__test_decode_cert_impl()
1882 PyErr_SetString(PySSLErrorObject, in _ssl__test_decode_cert_impl()
1889 PyErr_SetString(PySSLErrorObject, in _ssl__test_decode_cert_impl()
2426 PyErr_SetString(PySSLErrorObject, in _ssl__SSLSocket_write_impl()
2430 PyErr_SetString(PySSLErrorObject, in _ssl__SSLSocket_write_impl()
2461 PyErr_SetString(PySSLErrorObject, in _ssl__SSLSocket_write_impl()
2735 PyErr_SetString(PySSLErrorObject, in _ssl__SSLSocket_shutdown_impl()
3229 PyErr_SetString(PySSLErrorObject, in _ssl__SSLContext_impl()
3348 PyErr_SetString(PySSLErrorObject, in _ssl__SSLContext_set_ciphers_impl()
3560 PyErr_SetString(PySSLErrorObject, in get_verify_mode()
4880 PyErr_SetString(PySSLErrorObject, in _ssl_MemoryBIO_impl()
4994 PyErr_SetString(PySSLErrorObject, in _ssl_MemoryBIO_write_impl()
5343 PyErr_SetObject(PySSLErrorObject, v); in PySSL_RAND()
5418 PyErr_SetString(PySSLErrorObject, in _ssl_RAND_egd_impl()
6055 PySSLErrorObject = PyType_FromSpec(&sslerror_type_spec); in PyInit__ssl()
6056 if (PySSLErrorObject == NULL) in PyInit__ssl()
6060 bases = Py_BuildValue("OO", PySSLErrorObject, PyExc_ValueError); in PyInit__ssl()
6069 PySSLErrorObject, NULL); in PyInit__ssl()
6072 PySSLErrorObject, NULL); in PyInit__ssl()
6075 PySSLErrorObject, NULL); in PyInit__ssl()
6078 PySSLErrorObject, NULL); in PyInit__ssl()
6081 PySSLErrorObject, NULL); in PyInit__ssl()
6089 if (PyDict_SetItemString(d, "SSLError", PySSLErrorObject) != 0 in PyInit__ssl()