summaryrefslogtreecommitdiff
path: root/util/hash/sha1/collisiondetect.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/hash/sha1/collisiondetect.h')
-rw-r--r--util/hash/sha1/collisiondetect.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/util/hash/sha1/collisiondetect.h b/util/hash/sha1/collisiondetect.h
new file mode 100644
index 000000000..eb88e86c1
--- /dev/null
+++ b/util/hash/sha1/collisiondetect.h
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) the libgit2 contributors. All rights reserved.
+ *
+ * This file is part of libgit2, distributed under the GNU GPL v2 with
+ * a Linking Exception. For full terms see the included COPYING file.
+ */
+
+#ifndef INCLUDE_hash_sha1_collisiondetect_h__
+#define INCLUDE_hash_sha1_collisiondetect_h__
+
+#include "hash/sha1.h"
+
+#include "sha1dc/sha1.h"
+
+struct git_hash_sha1_ctx {
+ SHA1_CTX c;
+};
+
+#endif