aboutsummaryrefslogtreecommitdiffstats
path: root/sha1.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-08-24 00:28:01 +0200
committerMattias Andrée <maandree@kth.se>2024-08-24 00:28:01 +0200
commit5dc20ecaf0bd3b8e96d15b9d25ee306ba50bb654 (patch)
tree5182f9cc51087e3b0ebbf07d6227d4967321535c /sha1.c
parentDocument when things were introduced (diff)
downloadlibhashsum-5dc20ecaf0bd3b8e96d15b9d25ee306ba50bb654.tar.gz
libhashsum-5dc20ecaf0bd3b8e96d15b9d25ee306ba50bb654.tar.bz2
libhashsum-5dc20ecaf0bd3b8e96d15b9d25ee306ba50bb654.tar.xz
Disable the massive tests
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--sha1.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sha1.c b/sha1.c
index ebba4ca..3a465e8 100644
--- a/sha1.c
+++ b/sha1.c
@@ -14,10 +14,12 @@ static struct testcase testcases[] = {
{1, 0, "abc", "a9993e364706816aba3e25717850c26c9cd0d89d"},
{1, 0, "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
"84983e441c3bd26ebaae4aa1f95129e5e54670f1"},
- {1000000UL, 8, "\0", "bef3595266a65a2ff36b700a75e8ed95c68210b6"},
+#ifdef MASSIVE_TESTS
{0x20000000UL, 0, "A", "df3f26fce8fa7bec2c61d0506749a320ac7dc942"},
{0x41000000UL, 8, "\0", "320c617b0b6ee1b6f9c3271eae135f40cae22c10"},
- {0x6000003FUL, 0, "\x84", "b20aa99b62e6a480fd93b4d24b2c19ffac649bb8"}
+ {0x6000003FUL, 0, "\x84", "b20aa99b62e6a480fd93b4d24b2c19ffac649bb8"},
+#endif
+ {1000000UL, 8, "\0", "bef3595266a65a2ff36b700a75e8ed95c68210b6"}
};