summaryrefslogtreecommitdiff
path: root/test/GZipDecoderTest.cc
diff options
context:
space:
mode:
authorNils Maier <maierman@web.de>2014-04-17 01:36:19 +0200
committerNils Maier <maierman@web.de>2014-04-17 18:02:42 +0200
commit010131161ebdea22e5b6eb4fd0740e8e6da3df67 (patch)
tree3a768bbd2796056c65de9630a6ab6946d4eda43f /test/GZipDecoderTest.cc
parentbefd799d177c2860ea4e9c6cf8c744342c394427 (diff)
Remove ENABLE_MESSAGE_DIGEST, since we got the internal md, always
Diffstat (limited to 'test/GZipDecoderTest.cc')
-rw-r--r--test/GZipDecoderTest.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/GZipDecoderTest.cc b/test/GZipDecoderTest.cc
index 40bc512d..f6451cf1 100644
--- a/test/GZipDecoderTest.cc
+++ b/test/GZipDecoderTest.cc
@@ -8,9 +8,7 @@
#include "TestUtil.h"
#include "Exception.h"
#include "util.h"
-#ifdef ENABLE_MESSAGE_DIGEST
-# include "MessageDigest.h"
-#endif // ENABLE_MESSAGE_DIGEST
+#include "MessageDigest.h"
namespace aria2 {
@@ -53,10 +51,8 @@ void GZipDecoderTest::testDecode()
out.close();
-#ifdef ENABLE_MESSAGE_DIGEST
CPPUNIT_ASSERT_EQUAL(std::string("8b577b33c0411b2be9d4fa74c7402d54a8d21f96"),
fileHexDigest(MessageDigest::sha1().get(), outfile));
-#endif // ENABLE_MESSAGE_DIGEST
}
} // namespace aria2