diff options
Diffstat (limited to '')
-rw-r--r-- | common.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -151,6 +151,10 @@ run_tests(const char *name, enum libhashsum_algorithm algorithm, size_t hash_siz fprintf(stderr, "libhashsum_init_hasher returned NULL pointer in .finalise\n"); return 2; } + if (hasher.stretch) { + fprintf(stderr, "libhashsum_init_hasher returned non-NULL pointer in .stretch\n"); + return 2; + } input_string_len = strlen(testcases[i].input); bits = testcases[i].extra_bits; if (bits) { |