summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2014-02-01 11:48:54 (GMT)
committerRemko Tronçon <git@el-tramo.be>2014-02-02 09:42:58 (GMT)
commitf44ea24fda0f08195180215a30bc626d7c1907c5 (patch)
treea1bb160a98a497dbf01b82bbf559e99b6c1dfad9 /Swiften/TLS/Schannel
parent3d881ddd0b65d3a2bc1213386fb75fd95e4de691 (diff)
downloadswift-f44ea24fda0f08195180215a30bc626d7c1907c5.zip
swift-f44ea24fda0f08195180215a30bc626d7c1907c5.tar.bz2
Sluift: Add new_certificate
Change-Id: If4e4ef98c00f15c0a88557860f0377843a8713c0
Diffstat (limited to 'Swiften/TLS/Schannel')
-rw-r--r--Swiften/TLS/Schannel/SchannelCertificateFactory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/TLS/Schannel/SchannelCertificateFactory.h b/Swiften/TLS/Schannel/SchannelCertificateFactory.h
index d09bb54..5a2b208 100644
--- a/Swiften/TLS/Schannel/SchannelCertificateFactory.h
+++ b/Swiften/TLS/Schannel/SchannelCertificateFactory.h
@@ -12,8 +12,8 @@
namespace Swift {
class SchannelCertificateFactory : public CertificateFactory {
public:
- virtual Certificate::ref createCertificateFromDER(const ByteArray& der) {
- return Certificate::ref(new SchannelCertificate(der));
+ virtual Certificate* createCertificateFromDER(const ByteArray& der) {
+ return new SchannelCertificate(der);
}
};
}