diff options
Diffstat (limited to 'cipher/rmd160test.c')
-rw-r--r-- | cipher/rmd160test.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cipher/rmd160test.c b/cipher/rmd160test.c index 14afb435b..49f948989 100644 --- a/cipher/rmd160test.c +++ b/cipher/rmd160test.c @@ -45,13 +45,13 @@ main(int argc, char **argv) usage(); rmdhd = rmd160_open(0); - #if 1 +#if 1 while( (n = fread( buf, 1, 100, stdin )) > 0 ) rmd160_write(rmdhd, buf, n); - #else +#else for(i=0; i < 1000000; i++ ) rmd160_putchar(rmdhd, 'a'); - #endif +#endif p = rmd160_final(rmdhd); for(i=0; i < 20; i++, p++ ) printf("%02x", *p ); @@ -60,4 +60,3 @@ main(int argc, char **argv) rmd160_close(rmdhd); return 0; } - |