summaryrefslogtreecommitdiff
path: root/src/sha1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sha1.cpp')
-rw-r--r--src/sha1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sha1.cpp b/src/sha1.cpp
index 98180adc7..6ed7385d5 100644
--- a/src/sha1.cpp
+++ b/src/sha1.cpp
@@ -146,7 +146,7 @@ void SHA1::process()
void SHA1::addBytes( const char* data, int num )
{
assert( data );
- assert( num > 0 );
+ assert( num >= 0 );
// add these bytes to the running total
size += num;
// repeat until all data is processed