diff options
author | Tobias Markmann <tm@ayena.de> | 2012-08-30 18:56:46 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2012-08-30 18:56:46 (GMT) |
commit | 49aa0ddd615ac5694cec69e380ce3773a1fe32ed (patch) | |
tree | 63714caffacba172f3e71724d7d145a525b31ad9 /Swiften/TLS/PlatformTLSFactories.cpp | |
parent | 6856199274e9c5e581220fccf520b8f011519d17 (diff) | |
download | swift-contrib-49aa0ddd615ac5694cec69e380ce3773a1fe32ed.zip swift-contrib-49aa0ddd615ac5694cec69e380ce3773a1fe32ed.tar.bz2 |
Dummy SecureTransport TLS backend. Mostly scons integration fail.tobias/cocoa-ssl
Diffstat (limited to 'Swiften/TLS/PlatformTLSFactories.cpp')
-rw-r--r-- | Swiften/TLS/PlatformTLSFactories.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Swiften/TLS/PlatformTLSFactories.cpp b/Swiften/TLS/PlatformTLSFactories.cpp index 64a5ab3..4f2128c 100644 --- a/Swiften/TLS/PlatformTLSFactories.cpp +++ b/Swiften/TLS/PlatformTLSFactories.cpp @@ -18,6 +18,10 @@ #include "Swiften/TLS/Schannel/SchannelContextFactory.h" #include "Swiften/TLS/Schannel/SchannelCertificateFactory.h" #endif +#ifdef HAVE_SECURETRANSPORT + #include "Swiften/TLS/SecureTransport/SecureTransportContextFactory.h" + #include "Swiften/TLS/SecureTransport/SecureTransportCertificateFactory.h" +#endif namespace Swift { @@ -30,6 +34,10 @@ PlatformTLSFactories::PlatformTLSFactories() : contextFactory(NULL), certificate contextFactory = new SchannelContextFactory(); certificateFactory = new SchannelCertificateFactory(); #endif +#ifdef HAVE_SECURETRANSPORT + contextFactory = new SecureTransportContextFactory(); + certificateFactory = new SsecureTransportCertificateFactory(); +#endif } PlatformTLSFactories::~PlatformTLSFactories() { |