summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-04-24 20:26:20 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-04-24 20:26:20 (GMT)
commit08376a65babc16285608b7f8a84f1202b709d4c8 (patch)
treeb083caae5838ea6c67e5272412aa5b91cd35524f /Swiften
parent856f970d14c5c32b80fc5ea359d4e567b51578a0 (diff)
downloadswift-contrib-08376a65babc16285608b7f8a84f1202b709d4c8.zip
swift-contrib-08376a65babc16285608b7f8a84f1202b709d4c8.tar.bz2
Fixed compilation problems on windows.
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/Base/Log.h2
-rw-r--r--Swiften/Client/ClientSession.cpp2
-rw-r--r--Swiften/TLS/Schannel/SchannelContext.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/Swiften/Base/Log.h b/Swiften/Base/Log.h
index 955227f..06f5b55 100644
--- a/Swiften/Base/Log.h
+++ b/Swiften/Base/Log.h
@@ -14,7 +14,7 @@ namespace Swift {
// Only here to be able to statically check the correctness of the severity levers
namespace Severity {
enum {
- debug, warning, error
+ debug, info, warning, error
};
}
}
diff --git a/Swiften/Client/ClientSession.cpp b/Swiften/Client/ClientSession.cpp
index 81fcf57..70f0398 100644
--- a/Swiften/Client/ClientSession.cpp
+++ b/Swiften/Client/ClientSession.cpp
@@ -67,7 +67,7 @@ ClientSession::ClientSession(
certificateTrustChecker(NULL) {
#ifdef SWIFTEN_PLATFORM_WIN32
if (WindowsRegistry::isFIPSEnabled()) {
- SWIFT_LOG("info") << "Windows is running in FIPS-140 mode. Some authentication methods will be unavailable." << std::endl;
+ SWIFT_LOG(info) << "Windows is running in FIPS-140 mode. Some authentication methods will be unavailable." << std::endl;
}
#endif
}
diff --git a/Swiften/TLS/Schannel/SchannelContext.h b/Swiften/TLS/Schannel/SchannelContext.h
index 62c0da2..587d0e7 100644
--- a/Swiften/TLS/Schannel/SchannelContext.h
+++ b/Swiften/TLS/Schannel/SchannelContext.h
@@ -55,6 +55,8 @@ namespace Swift
virtual ByteArray getFinishMessage() const;
+ virtual void setCheckCertificateRevocation(bool b);
+
private:
void determineStreamSizes();
void continueHandshake(const SafeByteArray& data);
@@ -74,8 +76,6 @@ namespace Swift
void handleCertificateCardRemoved();
- virtual void setCheckCertificateRevocation(bool b);
-
private:
enum SchannelState
{