diff options
Diffstat (limited to 'Swiften/StreamStack')
-rw-r--r-- | Swiften/StreamStack/TLSLayer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/StreamStack/TLSLayer.h b/Swiften/StreamStack/TLSLayer.h index a69f789..22e9aef 100644 --- a/Swiften/StreamStack/TLSLayer.h +++ b/Swiften/StreamStack/TLSLayer.h @@ -30,6 +30,10 @@ namespace Swift { void writeData(const ByteArray& data); void handleDataRead(const ByteArray& data); + TLSContext* getContext() const { + return context; + } + public: boost::signal<void ()> onError; boost::signal<void ()> onConnected; |