Whitespace cleanup

pull/301/head
Jeffrey Walton 2016-09-22 10:35:57 -04:00
parent d5aff4e4f8
commit dcbb0c55d9
2 changed files with 52 additions and 54 deletions

View File

@ -252,8 +252,7 @@ static void KeccakF1600(word64 *state)
void Keccak::Update(const byte *input, size_t length)
{
CRYPTOPP_ASSERT((input && length) || !(input || length));
if (!length)
return;
if (!length) { return; }
size_t spaceLeft;
while (length >= (spaceLeft = r() - m_counter))

View File

@ -252,8 +252,7 @@ static void KeccakF1600(word64 *state)
void SHA3::Update(const byte *input, size_t length)
{
CRYPTOPP_ASSERT((input && length) || !(input || length));
if (!length)
return;
if (!length) { return; }
size_t spaceLeft;
while (length >= (spaceLeft = r() - m_counter))