mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
coding standards
This commit is contained in:
parent
587e544063
commit
ee02d25453
12
crypto.cpp
12
crypto.cpp
@ -658,9 +658,9 @@ BOOST_AUTO_TEST_CASE(cryptopp_aes128_ctr)
|
|||||||
BOOST_REQUIRE(text != original);
|
BOOST_REQUIRE(text != original);
|
||||||
cipherCopy = text;
|
cipherCopy = text;
|
||||||
}
|
}
|
||||||
catch(CryptoPP::Exception& e)
|
catch (CryptoPP::Exception& _e)
|
||||||
{
|
{
|
||||||
cerr << e.what() << endl;
|
cerr << _e.what() << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
@ -670,9 +670,9 @@ BOOST_AUTO_TEST_CASE(cryptopp_aes128_ctr)
|
|||||||
d.ProcessData(out, in, text.size());
|
d.ProcessData(out, in, text.size());
|
||||||
BOOST_REQUIRE(text == original);
|
BOOST_REQUIRE(text == original);
|
||||||
}
|
}
|
||||||
catch(CryptoPP::Exception& e)
|
catch (CryptoPP::Exception& _e)
|
||||||
{
|
{
|
||||||
cerr << e.what() << endl;
|
cerr << _e.what() << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -690,9 +690,9 @@ BOOST_AUTO_TEST_CASE(cryptopp_aes128_ctr)
|
|||||||
// yep, ctr mode.
|
// yep, ctr mode.
|
||||||
BOOST_REQUIRE(cipherCopy == original);
|
BOOST_REQUIRE(cipherCopy == original);
|
||||||
}
|
}
|
||||||
catch(CryptoPP::Exception& e)
|
catch (CryptoPP::Exception& _e)
|
||||||
{
|
{
|
||||||
cerr << e.what() << endl;
|
cerr << _e.what() << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user