aboutsummaryrefslogtreecommitdiffstats
path: root/vmime/net/tls/gnutls/TLSSession_GnuTLS.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'vmime/net/tls/gnutls/TLSSession_GnuTLS.hpp')
-rw-r--r--vmime/net/tls/gnutls/TLSSession_GnuTLS.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/vmime/net/tls/gnutls/TLSSession_GnuTLS.hpp b/vmime/net/tls/gnutls/TLSSession_GnuTLS.hpp
index 45fee070..7f762b58 100644
--- a/vmime/net/tls/gnutls/TLSSession_GnuTLS.hpp
+++ b/vmime/net/tls/gnutls/TLSSession_GnuTLS.hpp
@@ -52,13 +52,13 @@ class TLSSession_GnuTLS : public TLSSession
public:
- TLSSession_GnuTLS(ref <security::cert::certificateVerifier> cv, ref <TLSProperties> props);
+ TLSSession_GnuTLS(shared_ptr <security::cert::certificateVerifier> cv, shared_ptr <TLSProperties> props);
~TLSSession_GnuTLS();
- ref <TLSSocket> getSocket(ref <socket> sok);
+ shared_ptr <TLSSocket> getSocket(shared_ptr <socket> sok);
- ref <security::cert::certificateVerifier> getCertificateVerifier();
+ shared_ptr <security::cert::certificateVerifier> getCertificateVerifier();
private:
@@ -73,8 +73,8 @@ private:
void* m_gnutlsSession;
#endif // LIBGNUTLS_VERSION
- ref <security::cert::certificateVerifier> m_certVerifier;
- ref <TLSProperties> m_props;
+ shared_ptr <security::cert::certificateVerifier> m_certVerifier;
+ shared_ptr <TLSProperties> m_props;
};