summaryrefslogtreecommitdiff
path: root/tests/test-sha1.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2018-06-25 01:02:39 +0200
committerBruno Haible <bruno@clisp.org>2018-06-25 01:07:04 +0200
commitd27c90a13edcc64e17c4dd64fd28702f2d58bc43 (patch)
tree688380d776ad3648cc11cb4fdcb02ce9cea452e5 /tests/test-sha1.c
parenta79bb41b1c43482ad2a3de028c2466c41d3780fc (diff)
downloadgnulib-d27c90a13edcc64e17c4dd64fd28702f2d58bc43.tar.gz
af_alg tests: Add another test.
* tests/test-digest.h (test_digest_on_files): Also check a large file with a skipped header. * tests/test-md5.c: Include macros.h. * tests/test-sha1.c: Likewise. * tests/test-sha256.c: Likewise. * tests/test-sha512.c: Likewise. * modules/crypto/md5-tests (Files): Add tests/macros.h. * modules/crypto/sha1-tests (Files): Likewise. * modules/crypto/sha256-tests (Files): Likewise. * modules/crypto/sha512-tests (Files): Likewise.
Diffstat (limited to 'tests/test-sha1.c')
-rw-r--r--tests/test-sha1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-sha1.c b/tests/test-sha1.c
index 9b6cde32b4..dc056ae92f 100644
--- a/tests/test-sha1.c
+++ b/tests/test-sha1.c
@@ -24,6 +24,8 @@
#include <string.h>
#include <unistd.h>
+#include "macros.h"
+
#define TESTFILE "test-sha1.data"
#include "test-digest.h"