diff options
Diffstat (limited to 'Swiften/SASL/EXTERNALClientAuthenticator.cpp')
-rw-r--r-- | Swiften/SASL/EXTERNALClientAuthenticator.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Swiften/SASL/EXTERNALClientAuthenticator.cpp b/Swiften/SASL/EXTERNALClientAuthenticator.cpp index 2dc9cc8..546140f 100644 --- a/Swiften/SASL/EXTERNALClientAuthenticator.cpp +++ b/Swiften/SASL/EXTERNALClientAuthenticator.cpp @@ -1,26 +1,26 @@ /* * Copyright (c) 2012 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #include <Swiften/SASL/EXTERNALClientAuthenticator.h> namespace Swift { EXTERNALClientAuthenticator::EXTERNALClientAuthenticator() : ClientAuthenticator("EXTERNAL"), finished(false) { } boost::optional<SafeByteArray> EXTERNALClientAuthenticator::getResponse() const { - return boost::optional<SafeByteArray>(); + return boost::optional<SafeByteArray>(); } bool EXTERNALClientAuthenticator::setChallenge(const boost::optional<ByteArray>&) { - if (finished) { - return false; - } - finished = true; - return true; + if (finished) { + return false; + } + finished = true; + return true; } } |