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/SecureTransport/SecureTransportContextFactory.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/SecureTransport/SecureTransportContextFactory.cpp')
-rw-r--r-- | Swiften/TLS/SecureTransport/SecureTransportContextFactory.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Swiften/TLS/SecureTransport/SecureTransportContextFactory.cpp b/Swiften/TLS/SecureTransport/SecureTransportContextFactory.cpp new file mode 100644 index 0000000..adc1a93 --- /dev/null +++ b/Swiften/TLS/SecureTransport/SecureTransportContextFactory.cpp @@ -0,0 +1,25 @@ +/* + * Copyright (c) 2012 Tobias Markmann + * Licensed under the simplified BSD license. + * See Documentation/Licenses/BSD-simplified.txt for more information. + */ + +#include <Swiften/TLS/SecureTransport/SecureTransportContextFactory.h> +#include <Swiften/TLS/SecureTransport/SecureTransportContext.h> +#include <Swiften/Base/Log.h> + +namespace Swift { + +bool SecureTransportContextFactory::canCreate() const { + return true; +} + +TLSContext* SecureTransportContextFactory::createTLSContext() { + return null; +} + +void SecureTransportContextFactory::setCheckCertificateRevocation(bool check) { + +} + +} |