diff options
Diffstat (limited to 'Swiften')
-rw-r--r-- | Swiften/Base/Log.h | 2 | ||||
-rw-r--r-- | Swiften/Client/ClientSession.cpp | 2 | ||||
-rw-r--r-- | Swiften/TLS/Schannel/SchannelContext.h | 4 |
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 { |