mirror of
https://github.com/aria2/aria2.git
synced 2025-04-05 13:37:40 +03:00
2009-10-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Moved static functions in Util class to namespace util. * src * test
This commit is contained in:
parent
3349fe0811
commit
c6035b2e24
129 changed files with 893 additions and 882 deletions
|
@ -48,8 +48,8 @@ void DHKeyExchangeTest::testHandshake()
|
|||
dhA.computeSecret(secretA, sizeof(secretA), publicKeyB, sizeof(publicKeyB));
|
||||
dhB.computeSecret(secretB, sizeof(secretB), publicKeyA, sizeof(publicKeyA));
|
||||
|
||||
CPPUNIT_ASSERT_EQUAL(Util::toHex(secretA, sizeof(secretA)),
|
||||
Util::toHex(secretB, sizeof(secretB)));
|
||||
CPPUNIT_ASSERT_EQUAL(util::toHex(secretA, sizeof(secretA)),
|
||||
util::toHex(secretB, sizeof(secretB)));
|
||||
}
|
||||
|
||||
} // namespace aria2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue