summaryrefslogtreecommitdiff
path: root/devel/got/files/openbsd-compat/sha2.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/got/files/openbsd-compat/sha2.h')
-rw-r--r--devel/got/files/openbsd-compat/sha2.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/got/files/openbsd-compat/sha2.h b/devel/got/files/openbsd-compat/sha2.h
new file mode 100644
index 000000000000..28eb07763b8f
--- /dev/null
+++ b/devel/got/files/openbsd-compat/sha2.h
@@ -0,0 +1,11 @@
+#ifndef _OPENBSD_COMPAT_SHA2_H_
+#define _OPENBSD_COMPAT_SHA2_H_
+
+#include <sha256.h>
+
+#define SHA2_CTX SHA256_CTX
+#define SHA256Init SHA256_Init
+#define SHA256Update SHA256_Update
+#define SHA256Final SHA256_Final
+
+#endif