mirror of
https://github.com/aria2/aria2.git
synced 2025-04-05 13:37:40 +03:00
Stored hash value as raw byte string, instead of hex digest.
This commit is contained in:
parent
c2eb9d791a
commit
310e58bc62
33 changed files with 107 additions and 98 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue