diff options
| author | Tobias Markmann <tm@ayena.de> | 2015-09-15 10:48:47 (GMT) |
|---|---|---|
| committer | Kevin Smith <kevin.smith@isode.com> | 2015-09-22 15:57:47 (GMT) |
| commit | c310a15daeb18a441a30cbd7fbdc14a2eea957f9 (patch) | |
| tree | bdc6e6facc6febc60ec1066d9734d2bb5932eedf /Swiften/TLS/PlatformTLSFactories.cpp | |
| parent | 4f2824b115a9c713e6439d91360a7c7362522b91 (diff) | |
| download | swift-c310a15daeb18a441a30cbd7fbdc14a2eea957f9.zip swift-c310a15daeb18a441a30cbd7fbdc14a2eea957f9.tar.bz2 | |
Add explicit includes for classes used in PlatformTLSFactories
Furthermore removed unneeded includes.
Test-Information:
Still builds and unit tests pass.
Change-Id: Ic7272e754c488f427b5ee6834f1d892028ea285d
Diffstat (limited to 'Swiften/TLS/PlatformTLSFactories.cpp')
| -rw-r--r-- | Swiften/TLS/PlatformTLSFactories.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Swiften/TLS/PlatformTLSFactories.cpp b/Swiften/TLS/PlatformTLSFactories.cpp index 0ad8fc6..2492840 100644 --- a/Swiften/TLS/PlatformTLSFactories.cpp +++ b/Swiften/TLS/PlatformTLSFactories.cpp | |||
| @@ -1,24 +1,24 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2010 Isode Limited. | 2 | * Copyright (c) 2010-2015 Isode Limited. |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * See the COPYING file for more information. | 4 | * See the COPYING file for more information. |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #include <Swiften/Base/Platform.h> | ||
| 8 | #include <Swiften/TLS/PlatformTLSFactories.h> | 7 | #include <Swiften/TLS/PlatformTLSFactories.h> |
| 9 | 8 | ||
| 10 | #include <cstring> | 9 | #include <Swiften/Base/Platform.h> |
| 11 | #include <cassert> | 10 | #include <Swiften/TLS/CertificateFactory.h> |
| 11 | #include <Swiften/TLS/TLSContextFactory.h> | ||
| 12 | 12 | ||
| 13 | #ifdef HAVE_OPENSSL | 13 | #ifdef HAVE_OPENSSL |
| 14 | #include "Swiften/TLS/OpenSSL/OpenSSLContextFactory.h" | 14 | #include <Swiften/TLS/OpenSSL/OpenSSLContextFactory.h> |
| 15 | #include "Swiften/TLS/OpenSSL/OpenSSLCertificateFactory.h" | 15 | #include <Swiften/TLS/OpenSSL/OpenSSLCertificateFactory.h> |
| 16 | #endif | 16 | #endif |
| 17 | #ifdef HAVE_SCHANNEL | 17 | #ifdef HAVE_SCHANNEL |
| 18 | #include "Swiften/TLS/Schannel/SchannelContextFactory.h" | 18 | #include <Swiften/TLS/Schannel/SchannelContextFactory.h> |
| 19 | #include "Swiften/TLS/Schannel/SchannelCertificateFactory.h" | 19 | #include <Swiften/TLS/Schannel/SchannelCertificateFactory.h> |
| 20 | #endif | 20 | #endif |
| 21 | 21 | ||
| 22 | namespace Swift { | 22 | namespace Swift { |
| 23 | 23 | ||
| 24 | PlatformTLSFactories::PlatformTLSFactories() : contextFactory(NULL), certificateFactory(NULL) { | 24 | PlatformTLSFactories::PlatformTLSFactories() : contextFactory(NULL), certificateFactory(NULL) { |
Swift