aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/rmd160test.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-05-24 18:31:33 +0000
committerDavid Shaw <[email protected]>2003-05-24 18:31:33 +0000
commit29e6411a7bc1657fab1a3c2b847051a30e2247ea (patch)
tree62aeaf6d2fb67efd3023169a6d82b085a70c3100 /cipher/rmd160test.c
parent* mpicoder.c, mpi-inline.h, mpi-inv.c, mpiutil.c, mpih-div.c, (diff)
downloadgnupg-29e6411a7bc1657fab1a3c2b847051a30e2247ea.tar.gz
gnupg-29e6411a7bc1657fab1a3c2b847051a30e2247ea.zip
* bithelp.h, des.c, random.c, rndlinux.c, sha1.c, blowfish.c, elgamal.c,
rijndael.c, rndunix.c, sha256.c, cast5.c, idea-stub.c, rmd160.c, rndw32.c, sha512.c, md5.c, rmd160test.c, rsa.c, tiger.c: Edit all preprocessor instructions to remove whitespace before the '#'. This is not required by C89, but there are some compilers out there that don't like it.
Diffstat (limited to '')
-rw-r--r--cipher/rmd160test.c7
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;
}
-