aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/tests/sha1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/sha1.cpp b/src/tests/sha1.cpp
index 51c5104..df3113c 100644
--- a/src/tests/sha1.cpp
+++ b/src/tests/sha1.cpp
@@ -1,5 +1,5 @@
1#include "sha1.h" 1#include "sha1.h"
2#include "file.h" 2#include "sfile.h"
3 3
4#define BS 1024 4#define BS 1024
5 5
@@ -16,7 +16,7 @@ int main( int argc, char *argv[] )
16 char buf[BS]; 16 char buf[BS];
17 17
18 Sha1 s; 18 Sha1 s;
19 File fin( *argv, "rb" ); 19 SFile fin( *argv, "rb" );
20 for(;;) 20 for(;;)
21 { 21 {
22 int nRead = fin.read( buf, BS ); 22 int nRead = fin.read( buf, BS );