summaryrefslogtreecommitdiffstats
path: root/src/Net/ClientConnection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Net/ClientConnection.h')
-rw-r--r--src/Net/ClientConnection.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Net/ClientConnection.h b/src/Net/ClientConnection.h
index 684dbfc..e90b2db 100644
--- a/src/Net/ClientConnection.h
+++ b/src/Net/ClientConnection.h
@@ -37,6 +37,11 @@ class ClientConnection : public Connection {
gnutls_session_t session;
gnutls_anon_client_credentials_t anoncred;
+ protected:
+ virtual gnutls_session_t& getSession() {
+ return session;
+ }
+
public:
ClientConnection() : connected(false), peer(0), sock(-1), session(0) {}
virtual ~ClientConnection() {