Lines Matching defs:errstr
444 const char *errstr, int lineno, unsigned long errcode)
471 if (errstr == NULL)
472 errstr = ERR_reason_error_string(errcode);
474 if (errstr == NULL)
475 errstr = "unknown error";
518 lib_obj, reason_obj, errstr, verify_obj,
522 lib_obj, reason_obj, errstr, lineno);
525 lib_obj, errstr, lineno);
527 msg = PyUnicode_FromFormat("%s (_ssl.c:%d)", errstr, lineno);
582 char *errstr = NULL;
600 errstr = "TLS/SSL connection has been closed (EOF)";
605 errstr = "The operation did not complete (read)";
612 errstr = "The operation did not complete (write)";
616 errstr = "The operation did not complete (X509 lookup)";
620 errstr = "The operation did not complete (connect)";
629 errstr = "EOF occurred in violation of protocol";
645 errstr = "EOF occurred in violation of protocol";
650 errstr = "Some I/O error occurred";
662 errstr = "A failure in the SSL library occurred";
675 errstr = "EOF occurred in violation of protocol";
682 errstr = "Invalid error code";
685 fill_and_set_sslerror(state, sslsock, type, p, errstr, lineno, e);
692 _setSSLError (_sslmodulestate *state, const char *errstr, int errcode, const char *filename, int lineno)
694 if (errstr == NULL)
698 fill_and_set_sslerror(state, NULL, state->PySSLErrorObject, errcode, errstr, lineno, errcode);
5203 const char *errstr;
5227 errstr = ERR_reason_error_string(err);
5228 v = Py_BuildValue("(ks)", err, errstr);