mirror of
https://github.com/aria2/aria2.git
synced 2025-04-05 05:27:38 +03:00
Use std::unique_ptr for MessageDigest
This commit is contained in:
parent
f2d85c38cc
commit
74d6d64271
30 changed files with 124 additions and 122 deletions
|
@ -55,7 +55,7 @@ void GZipDecoderTest::testDecode()
|
|||
|
||||
#ifdef ENABLE_MESSAGE_DIGEST
|
||||
CPPUNIT_ASSERT_EQUAL(std::string("8b577b33c0411b2be9d4fa74c7402d54a8d21f96"),
|
||||
fileHexDigest(MessageDigest::sha1(), outfile));
|
||||
fileHexDigest(MessageDigest::sha1().get(), outfile));
|
||||
#endif // ENABLE_MESSAGE_DIGEST
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue