aboutsummaryrefslogtreecommitdiffstats
path: root/vmime/net/tls/TLSSecuredConnectionInfos.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'vmime/net/tls/TLSSecuredConnectionInfos.hpp')
-rw-r--r--vmime/net/tls/TLSSecuredConnectionInfos.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/vmime/net/tls/TLSSecuredConnectionInfos.hpp b/vmime/net/tls/TLSSecuredConnectionInfos.hpp
index be0fb41a..e552d6f9 100644
--- a/vmime/net/tls/TLSSecuredConnectionInfos.hpp
+++ b/vmime/net/tls/TLSSecuredConnectionInfos.hpp
@@ -52,7 +52,7 @@ class VMIME_EXPORT TLSSecuredConnectionInfos : public securedConnectionInfos
public:
TLSSecuredConnectionInfos(const string& host, const port_t port,
- ref <TLSSession> tlsSession, ref <TLSSocket> tlsSocket);
+ shared_ptr <TLSSession> tlsSession, shared_ptr <TLSSocket> tlsSocket);
const string getHost() const;
port_t getPort() const;
@@ -61,15 +61,15 @@ public:
*
* @return server certificate chain
*/
- ref <const security::cert::certificateChain> getPeerCertificates() const;
+ shared_ptr <const security::cert::certificateChain> getPeerCertificates() const;
private:
string m_host;
port_t m_port;
- ref <TLSSession> m_tlsSession;
- ref <TLSSocket> m_tlsSocket;
+ shared_ptr <TLSSession> m_tlsSession;
+ shared_ptr <TLSSocket> m_tlsSocket;
};