Lines Matching refs:errstr
446 const char *errstr, int lineno, unsigned long errcode) in fill_and_set_sslerror() argument
477 if (errstr == NULL) in fill_and_set_sslerror()
478 errstr = ERR_reason_error_string(errcode); in fill_and_set_sslerror()
480 if (errstr == NULL) in fill_and_set_sslerror()
481 errstr = "unknown error"; in fill_and_set_sslerror()
524 lib_obj, reason_obj, errstr, verify_obj, in fill_and_set_sslerror()
528 lib_obj, reason_obj, errstr, lineno); in fill_and_set_sslerror()
531 lib_obj, errstr, lineno); in fill_and_set_sslerror()
533 msg = PyUnicode_FromFormat("%s (_ssl.c:%d)", errstr, lineno); in fill_and_set_sslerror()
588 char *errstr = NULL; in PySSL_SetError() local
606 errstr = "TLS/SSL connection has been closed (EOF)"; in PySSL_SetError()
611 errstr = "The operation did not complete (read)"; in PySSL_SetError()
618 errstr = "The operation did not complete (write)"; in PySSL_SetError()
622 errstr = "The operation did not complete (X509 lookup)"; in PySSL_SetError()
626 errstr = "The operation did not complete (connect)"; in PySSL_SetError()
635 errstr = "EOF occurred in violation of protocol"; in PySSL_SetError()
651 errstr = "EOF occurred in violation of protocol"; in PySSL_SetError()
656 errstr = "Some I/O error occurred"; in PySSL_SetError()
668 errstr = "A failure in the SSL library occurred"; in PySSL_SetError()
678 errstr = "Invalid error code"; in PySSL_SetError()
681 fill_and_set_sslerror(state, sslsock, type, p, errstr, lineno, e); in PySSL_SetError()
688 _setSSLError (_sslmodulestate *state, const char *errstr, int errcode, const char *filename, int li… in _setSSLError() argument
690 if (errstr == NULL) in _setSSLError()
694 fill_and_set_sslerror(state, NULL, state->PySSLErrorObject, errcode, errstr, lineno, errcode); in _setSSLError()
5100 const char *errstr; in PySSL_RAND() local
5124 errstr = ERR_reason_error_string(err); in PySSL_RAND()
5125 v = Py_BuildValue("(ks)", err, errstr); in PySSL_RAND()