This commit is contained in:
Günter Obiltschnig
2020-01-10 11:34:35 +01:00
parent a2f8f8fbe1
commit 821d80b76e
5 changed files with 19 additions and 17 deletions

View File

@@ -37,16 +37,16 @@ class NetSSL_API Session: public Poco::RefCountedObject
/// if it wants to reuse it with a future connection.
{
public:
typedef Poco::AutoPtr<Session> Ptr;
using Ptr = Poco::AutoPtr<Session>;
SSL_SESSION* sslSession() const;
/// Returns the stored OpenSSL SSL_SESSION object.
protected:
protected:
Session(SSL_SESSION* pSession);
/// Creates a new Session object, using the given
/// SSL_SESSION object.
///
/// SSL_SESSION object.
///
/// The SSL_SESSION's reference count is not changed.
~Session();
@@ -59,7 +59,7 @@ private:
Session();
SSL_SESSION* _pSession;
friend class SecureSocketImpl;
};