Skip to content

Commit

Permalink
Backed off assert.
Browse files Browse the repository at this point in the history
Its too noisy
  • Loading branch information
noloader committed Aug 15, 2017
1 parent 659b471 commit 092b3cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cryptlib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,7 @@ void RandomNumberGenerator::GenerateIntoBufferedTransformation(BufferedTransform
{
size_t len = UnsignedMin(buffer.size(), length);
GenerateBlock(buffer, len);
size_t rem = target.ChannelPut(channel, buffer, len);
CRYPTOPP_UNUSED(rem); CRYPTOPP_ASSERT(rem == 0);
(void)target.ChannelPut(channel, buffer, len);
length -= len;
}
}
Expand Down

0 comments on commit 092b3cb

Please sign in to comment.