diff options
Diffstat (limited to '')
-rw-r--r-- | src/tests/md5.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/md5.cpp b/src/tests/md5.cpp index dea957b..2e9c318 100644 --- a/src/tests/md5.cpp +++ b/src/tests/md5.cpp | |||
@@ -12,12 +12,12 @@ int main( int argc, char *argv[] ) | |||
12 | Bu::File fIn( *argv, Bu::File::Read ); | 12 | Bu::File fIn( *argv, Bu::File::Read ); |
13 | Bu::Md5 m; | 13 | Bu::Md5 m; |
14 | 14 | ||
15 | char buf[1000]; | 15 | char buf[100000]; |
16 | for(;;) | 16 | for(;;) |
17 | { | 17 | { |
18 | int iRead = fIn.read( buf, 1000 ); | 18 | int iRead = fIn.read( buf, 100000 ); |
19 | m.addData( buf, iRead ); | 19 | m.addData( buf, iRead ); |
20 | if( iRead < 1000 ) | 20 | if( iRead < 100000 ) |
21 | break; | 21 | break; |
22 | } | 22 | } |
23 | 23 | ||