summaryrefslogtreecommitdiff
path: root/tests/resources
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@github.com>2017-02-24 14:14:56 +0000
committerEdward Thomson <ethomson@github.com>2017-03-03 10:50:28 +0000
commitd087c8f80ecbbbfca2740392cbf84816019f4d49 (patch)
tree81d8191d8b7df26a2489c4e5dd72699892c34fb7 /tests/resources
parent2dfd1294f7a694bfa9e864a9489ae3cb318a5ed0 (diff)
downloadlibgit2-d087c8f80ecbbbfca2740392cbf84816019f4d49.tar.gz
hash: test for sha1 collision attack detection
Diffstat (limited to 'tests/resources')
-rw-r--r--tests/resources/sha1/hello_c6
-rw-r--r--tests/resources/sha1/shattered-1.pdfbin0 -> 422435 bytes
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/resources/sha1/hello_c b/tests/resources/sha1/hello_c
new file mode 100644
index 000000000..45950b2ad
--- /dev/null
+++ b/tests/resources/sha1/hello_c
@@ -0,0 +1,6 @@
+#include <stdio.h>
+
+int main(int argc, char **argv)
+{
+ printf("Hello, %s\n", "world");
+}
diff --git a/tests/resources/sha1/shattered-1.pdf b/tests/resources/sha1/shattered-1.pdf
new file mode 100644
index 000000000..ba9aaa145
--- /dev/null
+++ b/tests/resources/sha1/shattered-1.pdf
Binary files differ