Searched refs:pysess (Results 1 – 1 of 1) sorted by relevance
2739 PySSLSession *pysess; in PySSL_get_session() local2758 pysess = PyObject_GC_New(PySSLSession, &PySSLSession_Type); in PySSL_get_session()2759 if (pysess == NULL) { in PySSL_get_session()2765 pysess->ctx = self->ctx; in PySSL_get_session()2766 Py_INCREF(pysess->ctx); in PySSL_get_session()2767 pysess->session = session; in PySSL_get_session()2768 PyObject_GC_Track(pysess); in PySSL_get_session()2769 return (PyObject *)pysess; in PySSL_get_session()2775 PySSLSession *pysess; in PySSL_set_session() local2785 pysess = (PySSLSession *)value; in PySSL_set_session()[all …]