summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-11-27 19:06:47 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-11-27 19:06:47 (GMT)
commitaa09a889108c4d0e3c5888ad98958d8f3e12bd3b (patch)
tree3c621ae0a6e2150281be182b37e2837b804adcba /Swiften/SConscript
parentc89ef0ffae597ac8c1063732e1d9a2d84703a80c (diff)
downloadswift-aa09a889108c4d0e3c5888ad98958d8f3e12bd3b.zip
swift-aa09a889108c4d0e3c5888ad98958d8f3e12bd3b.tar.bz2
Added MD5 hashing algorithm.
Moved 'hexifying' of hashes into its own class, such that it can be shared between all hashes.
Diffstat (limited to 'Swiften/SConscript')
-rw-r--r--Swiften/SConscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/SConscript b/Swiften/SConscript
index e7e1582..6c13edb 100644
--- a/Swiften/SConscript
+++ b/Swiften/SConscript
@@ -83,7 +83,9 @@ sources = [
"StringCodecs/Base64.cpp",
"StringCodecs/SHA1.cpp",
"StringCodecs/HMACSHA1.cpp",
+ "StringCodecs/MD5.cpp",
"StringCodecs/PBKDF2.cpp",
+ "StringCodecs/Hexify.cpp",
]
# "Notifier/GrowlNotifier.cpp",
@@ -190,6 +192,8 @@ env.Append(UNITTEST_SOURCES = [
File("StreamStack/UnitTest/XMPPLayerTest.cpp"),
File("StringCodecs/UnitTest/Base64Test.cpp"),
File("StringCodecs/UnitTest/SHA1Test.cpp"),
+ File("StringCodecs/UnitTest/MD5Test.cpp"),
+ File("StringCodecs/UnitTest/HexifyTest.cpp"),
File("StringCodecs/UnitTest/HMACSHA1Test.cpp"),
File("StringCodecs/UnitTest/PBKDF2Test.cpp"),
])