summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1996-05-20 21:16:20 +0000
committerTheodore Tso <tytso@mit.edu>1996-05-20 21:16:20 +0000
commitbe2bfc4183f8d2342e5d2872c1f88e7ac26f348d (patch)
tree907b367c85949b31d37b3aed2e27e60f086e3bb0
parent939a35c4d2e18ffa08dff31b442e98c9ab742888 (diff)
downloadkrb5-be2bfc4183f8d2342e5d2872c1f88e7ac26f348d.tar.gz
krb5-be2bfc4183f8d2342e5d2872c1f88e7ac26f348d.tar.xz
krb5-be2bfc4183f8d2342e5d2872c1f88e7ac26f348d.zip
Don't do timing tests; it takes too long!
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8064 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/lib/crypto/sha/ChangeLog4
-rw-r--r--src/lib/crypto/sha/t_shs.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/crypto/sha/ChangeLog b/src/lib/crypto/sha/ChangeLog
index 9e3c0011d..3ded41a01 100644
--- a/src/lib/crypto/sha/ChangeLog
+++ b/src/lib/crypto/sha/ChangeLog
@@ -1,3 +1,7 @@
+Mon May 20 17:15:32 1996 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * t_shs.c (main): Don't do timing tests; it takes too long!
+
Tue May 14 17:09:36 1996 Richard Basch <basch@lehman.com>
* .Sanitize: reflect current files
diff --git a/src/lib/crypto/sha/t_shs.c b/src/lib/crypto/sha/t_shs.c
index 8c1a1290a..de30603e2 100644
--- a/src/lib/crypto/sha/t_shs.c
+++ b/src/lib/crypto/sha/t_shs.c
@@ -104,6 +104,7 @@ main()
puts( "passed, result= 3232AFFA48628A26653B5AAA44541FD90D690603" );
#endif /* NEW_SHS */
+#if 0
printf( "\nTesting speed for 100MB data... " );
shsInit( &shsInfo );
secondCount = time( NULL );
@@ -112,6 +113,7 @@ main()
secondCount = time( NULL ) - secondCount;
printf( "done. Time = %ld seconds, %ld kbytes/second.\n", \
secondCount, 100500L / secondCount );
+#endif
puts( "\nAll SHS tests passed" );
exit( OK );