Lines Matching refs:sslsock
443 PySSLSocket *sslsock, PyObject *type, int ssl_errno,
478 if ((sslsock != NULL) && (type == state->PySSLCertVerificationErrorObject)) {
482 verify_code = SSL_get_verify_result(sslsock->ssl);
492 sslsock->server_hostname
498 sslsock->server_hostname
550 if ((sslsock != NULL) && (type == state->PySSLCertVerificationErrorObject)) {
567 PySSL_ChainExceptions(PySSLSocket *sslsock) {
568 if (sslsock->exc_type == NULL)
571 _PyErr_ChainExceptions(sslsock->exc_type, sslsock->exc_value, sslsock->exc_tb);
572 sslsock->exc_type = NULL;
573 sslsock->exc_value = NULL;
574 sslsock->exc_tb = NULL;
579 PySSL_SetError(PySSLSocket *sslsock, int ret, const char *filename, int lineno)
587 assert(sslsock != NULL);
589 _sslmodulestate *state = get_state_sock(sslsock);
595 if (sslsock->ssl != NULL) {
596 err = sslsock->err;
625 PySocketSockObject *s = GET_SOCKET(sslsock);
685 fill_and_set_sslerror(state, sslsock, type, p, errstr, lineno, e);
687 PySSL_ChainExceptions(sslsock);