summaryrefslogtreecommitdiff
path: root/OpenSSL/ssl/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSSL/ssl/session.h')
-rw-r--r--OpenSSL/ssl/session.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSSL/ssl/session.h b/OpenSSL/ssl/session.h
index 98cee80..4e8de11 100644
--- a/OpenSSL/ssl/session.h
+++ b/OpenSSL/ssl/session.h
@@ -16,10 +16,12 @@
typedef struct {
PyObject_HEAD
+ SSL_SESSION *session;
} ssl_SessionObj;
extern PyTypeObject ssl_Session_Type;
extern int init_ssl_session(PyObject *);
+extern ssl_SessionObj *ssl_Session_from_SSL_SESSION(SSL_SESSION *native_session);
#endif