mirror of
https://github.com/aria2/aria2.git
synced 2025-04-05 05:27:38 +03:00
make clang-format using clang-format-3.6
This commit is contained in:
parent
4abad2f64c
commit
b1132d6b10
1095 changed files with 30423 additions and 33770 deletions
|
@ -5,11 +5,12 @@
|
|||
|
||||
namespace aria2 {
|
||||
|
||||
class DHKeyExchangeTest:public CppUnit::TestFixture {
|
||||
class DHKeyExchangeTest : public CppUnit::TestFixture {
|
||||
|
||||
CPPUNIT_TEST_SUITE(DHKeyExchangeTest);
|
||||
CPPUNIT_TEST(testHandshake);
|
||||
CPPUNIT_TEST_SUITE_END();
|
||||
|
||||
public:
|
||||
void setUp() {}
|
||||
|
||||
|
@ -18,7 +19,6 @@ public:
|
|||
void testHandshake();
|
||||
};
|
||||
|
||||
|
||||
CPPUNIT_TEST_SUITE_REGISTRATION(DHKeyExchangeTest);
|
||||
|
||||
void DHKeyExchangeTest::testHandshake()
|
||||
|
@ -26,7 +26,10 @@ void DHKeyExchangeTest::testHandshake()
|
|||
DHKeyExchange dhA;
|
||||
DHKeyExchange dhB;
|
||||
|
||||
const unsigned char* PRIME = reinterpret_cast<const unsigned char*>("FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A63A36210000000000090563");
|
||||
const unsigned char* PRIME = reinterpret_cast<const unsigned char*>(
|
||||
"FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA6"
|
||||
"3B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245"
|
||||
"E485B576625E7EC6F44C42E9A63A36210000000000090563");
|
||||
|
||||
const size_t PRIME_BITS = 768;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue