diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-10-13 21:40:07 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-10-13 21:40:07 +0900 |
| commit | 310e58bc621803917179c80b399013cf8b80e245 (patch) | |
| tree | 9ef55317e75ba1f3d378e70a50a191659e73bc38 /test/GZipDecodingStreamFilterTest.cc | |
| parent | c2eb9d791a06baa4d28046813c25f4da137faa77 (diff) | |
Stored hash value as raw byte string, instead of hex digest.
Diffstat (limited to 'test/GZipDecodingStreamFilterTest.cc')
| -rw-r--r-- | test/GZipDecodingStreamFilterTest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/GZipDecodingStreamFilterTest.cc b/test/GZipDecodingStreamFilterTest.cc index de030401..264edbfc 100644 --- a/test/GZipDecodingStreamFilterTest.cc +++ b/test/GZipDecodingStreamFilterTest.cc @@ -76,7 +76,7 @@ void GZipDecodingStreamFilterTest::testTransform() SharedHandle<MessageDigest> sha1(MessageDigest::sha1()); sha1->update(data.data(), data.size()); CPPUNIT_ASSERT_EQUAL(std::string("8b577b33c0411b2be9d4fa74c7402d54a8d21f96"), - sha1->hexDigest()); + util::toHex(sha1->digest())); #endif // ENABLE_MESSAGE_DIGEST } |
