Stored hash value as raw byte string, instead of hex digest.

This commit is contained in:
Tatsuhiro Tsujikawa 2011-10-13 21:40:07 +09:00
parent c2eb9d791a
commit 310e58bc62
33 changed files with 107 additions and 98 deletions

View file

@ -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
}