From c81f60d353e61f91d8923514dedbce8a0b61c2df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Thu, 11 Nov 2010 22:50:53 +0100
Subject: Added CertificateVerificationError::ref.


diff --git a/Swiften/TLS/CertificateVerificationError.h b/Swiften/TLS/CertificateVerificationError.h
index 807df03..554fd3b 100644
--- a/Swiften/TLS/CertificateVerificationError.h
+++ b/Swiften/TLS/CertificateVerificationError.h
@@ -11,6 +11,8 @@
 namespace Swift {
 	class CertificateVerificationError : public Error {
 		public:
+			typedef boost::shared_ptr<CertificateVerificationError> ref;
+
 			enum Type {
 				UnknownError,
 				Expired,
diff --git a/Swiften/TLS/TLSContext.h b/Swiften/TLS/TLSContext.h
index 47f2697..2b8ed2d 100644
--- a/Swiften/TLS/TLSContext.h
+++ b/Swiften/TLS/TLSContext.h
@@ -28,7 +28,7 @@ namespace Swift {
 			virtual void handleDataFromApplication(const ByteArray&) = 0;
 
 			virtual Certificate::ref getPeerCertificate() const = 0;
-			virtual boost::shared_ptr<CertificateVerificationError> getPeerCertificateVerificationError() const = 0;
+			virtual CertificateVerificationError::ref getPeerCertificateVerificationError() const = 0;
 
 		public:
 			boost::signal<void (const ByteArray&)> onDataForNetwork;
-- 
cgit v0.10.2-6-g49f6