Lines Matching defs:state
39 _PySSL_CertificateFromX509(_sslmodulestate *state, X509 *cert, int upref)
41 return newCertificate(state->PySSLCertificate_Type, cert, upref);
45 _PySSL_CertificateFromX509Stack(_sslmodulestate *state, STACK_OF(X509) *stack, int upref)
57 PyObject *ocert = _PySSL_CertificateFromX509(state, cert, upref);
80 _sslmodulestate *state = get_state_cert(self);
84 PyErr_SetString(state->PySSLErrorObject,
105 _setSSLError(state, NULL, 0, __FILE__, __LINE__);
109 result = _PySSL_BytesFromBIO(state, bio);
111 result = _PySSL_UnicodeFromBIO(state, bio, "error");
131 _x509name_print(_sslmodulestate *state, X509_NAME *name, int indent, unsigned long flags)
143 _setSSLError(state, NULL, 0, __FILE__, __LINE__);
147 res = _PySSL_UnicodeFromBIO(state, biobuf, "strict");
197 _sslmodulestate *state = get_state_cert(self);
199 if (Py_TYPE(other) != state->PySSLCertificate_Type) {