diff options
Diffstat (limited to 'Swiften/Component/ComponentHandshakeGenerator.cpp')
| -rw-r--r-- | Swiften/Component/ComponentHandshakeGenerator.cpp | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/Swiften/Component/ComponentHandshakeGenerator.cpp b/Swiften/Component/ComponentHandshakeGenerator.cpp index 4081420..79ba9b3 100644 --- a/Swiften/Component/ComponentHandshakeGenerator.cpp +++ b/Swiften/Component/ComponentHandshakeGenerator.cpp @@ -4,9 +4,9 @@   * See Documentation/Licenses/GPLv3.txt for more information.   */ -#include "Swiften/Component/ComponentHandshakeGenerator.h" -#include "Swiften/StringCodecs/Hexify.h" -#include "Swiften/StringCodecs/SHA1.h" +#include <Swiften/Component/ComponentHandshakeGenerator.h> +#include <Swiften/StringCodecs/Hexify.h> +#include <Swiften/StringCodecs/SHA1.h>  #include <Swiften/Base/String.h>  namespace Swift { @@ -18,7 +18,7 @@ std::string ComponentHandshakeGenerator::getHandshake(const std::string& streamI  	String::replaceAll(concatenatedString, '>', ">");  	String::replaceAll(concatenatedString, '\'', "'");  	String::replaceAll(concatenatedString, '"', """); -	return Hexify::hexify(SHA1::getHash(ByteArray(concatenatedString))); +	return Hexify::hexify(SHA1::getHash(createByteArray(concatenatedString)));  }  } | 
 Swift
 Swift